Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.js
File · 0.45
install-links-package-lock-only.js
File · 0.45
npmPackage
Function · 0.45
build-ideal-tree.js
File · 0.45
prompt.js
File · 0.45
registry.js
File · 0.45
createPkg
Function · 0.45
unpublish.js
File · 0.45
cache.js
File · 0.45
exec.js
File · 0.45
dedupe.js
File · 0.45
unstar.js
File · 0.45
Calls
3
#loadWorkspaces
Method · 0.95
detach
Method · 0.80
reload
Method · 0.80
Tested by
no test coverage detected