Difference between revisions of "Npm scoped packages"
Jump to navigation
Jump to search
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | https://docs.npmjs.com/cli/v9/using-npm/scope | + | https://docs.npmjs.com/cli/v9/using-npm/scope Scopes packages are a way of grouping related packages together, and also affect a few things about the way npm treats the package and signal official packages for [[organizations]]. |
− | |||
+ | |||
+ | Scoped packages are precede by an <code>[[@]]</code> | ||
+ | |||
+ | == Examples == | ||
[[npm install]] @somescope/somepackagename | [[npm install]] @somescope/somepackagename | ||
npm install @slack/webhook | npm install @slack/webhook | ||
+ | [[npm install]] @google-cloud/[[trace-agent]] | ||
== See also == | == See also == | ||
+ | * {{npm install}} | ||
* {{npm}} | * {{npm}} | ||
[[Category:npm]] | [[Category:npm]] |
Latest revision as of 08:16, 20 June 2023
https://docs.npmjs.com/cli/v9/using-npm/scope Scopes packages are a way of grouping related packages together, and also affect a few things about the way npm treats the package and signal official packages for organizations.
Scoped packages are precede by an @
Examples[edit]
npm install @somescope/somepackagename npm install @slack/webhook npm install @google-cloud/trace-agent
See also[edit]
npm install
:npm install -g npm, brew install npm, npm ci
npm
,npx
,npm [ init
|audit
|install
|link | config | token
|start | publish | run start
|update | rebuild
|ci
|run build
].env/
,list
|ls | --version
,package.json
,$HOME/.npmrc
,npm help
, NPM Registry, npm ERR!
Advertising: