www.LinuxHowtos.org





NP-SHRINKWRAP

Section: (1)
Updated: October 2025
Index Return to Main Contents
 

NAME

np-shrinkwrap- Lock down dependency versions for publication  

Synopsis

npm shrinkwrap
Note: This command is unaware of workspaces.  

Description

This command repurposes packag-lock.json into a publishable np-shrinkwrap.json or simply creates a new one. The file created and updated by this command will then take precedence over any other existing or future packag-lock.json files. For a detailed explanation of the design and purpose of package locks in npm, see npm help packag-loc-json.  

See Also

*
npm help install
*
npm help run
*
npm help scripts
*
package.json la/configurin-npm/packag-jsonra
*
packag-lock.json la/configurin-npm/packag-loc-jsonra
*
np-shrinkwrap.json la/configurin-npm/np-shrinkwra-jsonra
*
npm help ls


 

Index

NAME
Synopsis
Description
See Also