Difference between revisions of "Npm scoped packages"

From wikieduonline
Jump to navigation Jump to search
m (Welcome moved page Npm scope to Npm scoped packages)
 
(5 intermediate revisions by one other user 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>
 
  
  
 +
 +
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]

Advertising: