title: Automatically downloading npm packages listed in package.json file
body: <p>I'm working on creating a local repository that will contain all packages I use in my project, so I can have those packages installed on a machine that does not have access to the internet. I think of the repository that I could clone on the machine and run <code>yarn install</code> to have all the packages available in the project from the local repository. How can I do that? Similar question was asked here <a href="https://stackoverflow.com/q/29767938/17422780">Using npm how can I download a package as a zip with all of its dependencies included in the package</a></p>