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:
(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:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.