I work in an offline network and I want to be able to type
npm install <package-name>
and then, a request to a local server inside my network will be sent to download the package. What is the best way I can implement it?
Thanks
You can setup local git server on your local network and store your package on local git server then you can install the package by
npm install https://gitserverip/user_name/package.git