MCPcopy
hub / github.com/ternjs/tern / node_resolve.js

File node_resolve.js

plugin/node_resolve.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1(function(mod) {
2 if (typeof exports == "object" && typeof module == "object") // CommonJS
3 return mod(require("../lib/infer"), require("../lib/tern"), require("./commonjs"), require);
4 if (typeof define == "function" && define.amd) // AMD

Callers

nothing calls this directly

Calls 4

findPackageFileFunction · 0.85
addFunction · 0.85
findDeclaredDepsFunction · 0.85
resolvePathFunction · 0.70

Tested by

no test coverage detected