MCPcopy Create free account
hub / github.com/breck7/scroll / isNodeJs

Method isNodeJs

external/.scrollLibs.js:14102–14104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14100 return result
14101 }
14102 static isNodeJs() {
14103 return typeof exports !== "undefined"
14104 }
14105 static findProjectRoot(startingDirName, projectName) {
14106 const fs = require("fs")
14107 const getProjectName = dirName => {

Callers 7

constructorMethod · 0.45
_formatCodeMethod · 0.45
formatMethod · 0.45
appendScriptMethod · 0.45
startWhenReadyMethod · 0.45
willowBrowserMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected