W3cubDocs

/npm

About public packages

As an npm user or organization member, you can create and publish public packages that anyone can download and use in their own projects.

  • Unscoped public packages exist in the global public registry namespace and can be referenced in a package.json file with the package name alone: package-name.
  • Scoped public packages belong to a user or organization and must be preceded by the user or organization name when included as a dependency in a package.json file:
    • @username/package-name
    • @org-name/package-name

Next steps

© npm, Inc. and Contributors
Licensed under the npm License.
npm is a trademark of npm, Inc.
https://docs.npmjs.com/about-public-packages