title: Does npm install have an equivalent to pip install --no-deps?
body: <p>I'm more familiar with the Python ecosystem at this point and have a question about how I can do something with <code>npm</code> that I'm used to doing with <code>pip</code>.</p>
  <p>Let's say I have a wheel for a particular Python package, as well as a wheel file for each of the Python package's dependencies. And let's say I have all these wheel files in a folder called <code>/path/to/wheel/files</code>. To install this package and all of its dependencies, I could run something like <code>pip install /path/to/wheel/files/*.whl --no-deps</code>, where <code>--no-deps</code> keeps me from having to install the various dependencies in the proper order.</p>
  <p>Does <code>npm</code> have an equivalent to this? I'm using <a href="https://github.com/sk770/npm-offline-packager" rel="nofollow noreferrer">npm-offline-packager</a> to create a tarball that contains a Node package (as its own tarball) and all of its dependencies (as their own tarballs). I know I can tell <code>npm install</code> to install a particular tarball. However, when I do this, it tries pulling in the required dependencies from the online NPM registry instead of pulling in the dependencies from the tarballs I already have.</p>
  <p>Ideally, I'd like <code>npm install</code> to use the tarballs to add the main package to my project's <code>package.json</code> while adding the package's dependencies to my project's <code>package-lock.json</code>. And of course, I'd also like the main package and all its dependencies to be installed to my project's <code>node_modules</code> directory as well.</p>
  <p><strong>TL;DR</strong> Does <code>npm</code> have something equivalent to <code>pip install /path/to/wheel/files/*.whl --no-deps</code>?</p>