About The Public Pack

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

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

The next step:

  • “Creating and publishing scoped public packages”
  • “Creating and publishing unscoped public packages”
  • “Using npm packages in your projects”