The command line tool
npm is a package management solution for
Node.js, which is mostly used for server-side
The npm registry at https://www.npmjs.org/ is the default package registry, from which components can be retrieved. It contains a large number of open source packages for Node.js based server-side application development, build tools like bower or grunt and many other packages for a variety of use cases.
Nexus supports the npm registry format for proxy repositories. This allows you to take advantage of the packages in the npm registry and other public registries without incurring repeated downloads of packages, since the will be proxied in Nexus.
In addition, Nexus supports running your own private registry - also
known as a hosted repository using the
npm format. You can share
internally developed, proprietary packages within your organization
via these private registries allowing you to collaborate efficiently
across development teams with a central package exchange and storage
To simplify configuration Nexus supports aggregation of npm registries. This allows you to expose all the external package from the npm registry and other public registries as well as the private registries as one registry, which greatly simplifies client configuration.
To share a package or tool with npm, you create a npm package and store it in the Nexus-based npm registry. Similarly, you can use packages others have created and made available in their NPM repositories by proxying them or downloading the packages and installing them in your own private registry for third party packages.
npm support is a feature of Nexus 2.10 and higher and is available in Nexus Professional and Nexus Open Source and requires npm version 1.4 and above.