It exists (npm shrinkwrap [1]), but it&#x27;s not enabled by default, and it has some warts, such as non-deterministic sorting of entries.<p>There&#x27;s a third-party tool [2] that is supposed to solve many of the issues, but I haven&#x27;t tried it.<p>Of course, if you do this, there&#x27;s a decent chance that if you try installing it again in 6 months, your shrinkwrapped version of at least one of the dependencies won&#x27;t be available any more...<p>[1]: <a href="https:&#x2F;&#x2F;docs.npmjs.com&#x2F;cli&#x2F;shrinkwrap" rel="nofollow">https:&#x2F;&#x2F;docs.npmjs.com&#x2F;cli&#x2F;shrinkwrap</a>
[2]: <a href="https:&#x2F;&#x2F;github.com&#x2F;uber&#x2F;npm-shrinkwrap" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;uber&#x2F;npm-shrinkwrap</a>