Difference between revisions of "Npm scoped packages"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
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.
 
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.
  
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

Revision as of 13:12, 14 December 2022

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.


Scoped packages are precede by an @

Examples

npm install @somescope/somepackagename
npm install @slack/webhook


See also

Advertising: