MCPcopy Create free account
hub / github.com/npm/cli / package

Method package

workspaces/arborist/lib/node.js:379–381  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

377 }
378
379 get package () {
380 return this[_package]
381 }
382
383 set package (pkg) {
384 // just detach them all. we could make this _slightly_ more efficient

Callers 15

index.jsFile · 0.45
npmPackageFunction · 0.45
prompt.jsFile · 0.45
registry.jsFile · 0.45
createPkgFunction · 0.45
unpublish.jsFile · 0.45
cache.jsFile · 0.45
exec.jsFile · 0.45
dedupe.jsFile · 0.45
unstar.jsFile · 0.45

Calls 3

#loadWorkspacesMethod · 0.95
detachMethod · 0.80
reloadMethod · 0.80

Tested by

no test coverage detected