I just want to share some private NodeJS modules for reuse in my other projects. A simple private registry is a good choice. sinopia is what I used.
The installation is very easy.
After this, we can add a user to the new registry.
Now we need to update the module’s
package.json to remove the
"private": true and add following publish config.
Then we can run
npm publish to publish the module. The new published module can be installed using
yarn in other projects.