Keeping your work private
npm is a great way to share your work with the world, but sometimes you may want to keep your work private or have more control over it.
In those case, you can use npm private packages. You have to pay $7 per month per user. You can create private packages and publish them to your own private registry.
Private Registry
Maybe you have a server that you can use. If so, you can use verdaccio to create your own private registry.
It’s just a single command to install and run. And using it is equally simple, just add a --registry [server address]
to your npm install
or npm publish
command.