I read about building private NPM mirrors/repositories, but didn't quite understand.
My goal is to make a repository that currently up to date, that contains all NPM packages available at the NPM website (The free packages) that I need. After downloading all packages I need to move it to a private network which is not connected to the internet. And set up a repository that will accept NPM requests in that private network.
every month I will update the packages I have outside the private network, and enter it to our private network again.
I never done anything like this before, Can anyone like guide me through it or Does anyone has a reading source that will explain step by step?
Good day !
This appears to be one way of doing what you want:
https://web.archive.org/web/20160310020204/https://www.clock.co.uk/blog/how-to-create-a-private-npmjs-repository
(I've updated the link to a Wayback machine link since it was taken offline by original host.)
UPDATE: There seem to be a few ways to do this now.
For example: