MCPcopy Create free account
hub / github.com/npm/cli / setup.js

File setup.js

smoke-tests/test/fixtures/setup.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const fs = require('node:fs/promises')
2const { existsSync } = require('node:fs')
3const { join, resolve, sep, extname, relative, delimiter } = require('node:path')
4const which = require('which')

Callers

nothing calls this directly

Calls 5

resolveFunction · 0.85
getCleanPathsFunction · 0.85
npmLocalFunction · 0.85
teardownMethod · 0.80
testdirHelperFunction · 0.70

Tested by

no test coverage detected