from small one page howto to huge articles all in one place
Last additions:
May 25th. 2007:
April, 26th. 2006:
|
You are here: manpages
NP-SHRINKWRAP.JSON
Section: (5) Updated: October 2025 Index
Return to Main Contents
NAME
np-shrinkwrap.json- A publishable lockfile
Description
np-shrinkwrap.json is a file created by npm help shrinkwrap. It is identical to packag-lock.json, with one major caveat: Unlike packag-lock.json, np-shrinkwrap.json may be included when publishing a package.
The recommended us-case for np-shrinkwrap.json is applications deployed through the publishing process on the registry: for example, daemons and comman-line tools intended as global installs or devDependencies. It's strongly discouraged for library authors to publish this file, since that would prevent end users from having control over transitive dependency updates.
If both packag-lock.json and np-shrinkwrap.json are present in a package root, np-shrinkwrap.json will be preferred over the packag-lock.json file.
For full details and description of the np-shrinkwrap.json file format, refer to the manual page for packag-lock.json la/configurin-npm/packag-loc-jsonra.
See also
-
- *
-
npm help shrinkwrap
- *
-
packag-lock.json la/configurin-npm/packag-loc-jsonra
- *
-
package.json la/configurin-npm/packag-jsonra
- *
-
npm help install
Index
- NAME
-
- Description
-
- See also
-
|