npm is a software registry that serves over 1.3 million packages. npm is used by open source developers from all around the world to share and borrow code, as well as many businesses. There are three components to npm:
the Command Line Interface (CLI)
Use the website to discover and download packages, create user profiles, and handle other aspects of your npm experience. You can grant organizations access to public or private components.
The command-line interface (CLI) is how most Node.js developers work with npm.