/snap/node/11691/lib/node_modules/npm/man/man5
NameSizeModeActions
folders.587110644editdlrm
install.531090644editdlrm
npm-global.587110644editdlrm
npm-json.5372240644editdlrm
npm-shrinkwrap-json.513740644editdlrm
npmrc.544830644editdlrm
package-json.5372240644editdlrm
package-lock-json.5108900644editdlrm
Edit: /snap/node/11691/lib/node_modules/npm/man/man5/npm-shrinkwrap-json.5 (1374B)
.TH "NPM-SHRINKWRAP.JSON" "5" "March 2026" "NPM@10.9.8" "" .SH "NAME" \fBnpm-shrinkwrap.json\fR - A publishable lockfile .SS "Description" .P \fBnpm-shrinkwrap.json\fR is a file created by npm help shrinkwrap. It is identical to \fBpackage-lock.json\fR, with one major caveat: Unlike \fBpackage-lock.json\fR, \fBnpm-shrinkwrap.json\fR may be included when publishing a package. .P The recommended use-case for \fBnpm-shrinkwrap.json\fR is applications deployed through the publishing process on the registry: for example, daemons and command-line tools intended as global installs or \fBdevDependencies\fR. It's strongly discouraged for library authors to publish this file, since that would prevent end users from having control over transitive dependency updates. .P If both \fBpackage-lock.json\fR and \fBnpm-shrinkwrap.json\fR are present in a package root, \fBnpm-shrinkwrap.json\fR will be preferred over the \fBpackage-lock.json\fR file. .P For full details and description of the \fBnpm-shrinkwrap.json\fR file format, refer to the manual page for \fBpackage-lock.json\fR \fI\(la/configuring-npm/package-lock-json\(ra\fR. .SS "See also" .RS 0 .IP \(bu 4 npm help shrinkwrap .IP \(bu 4 \fBpackage-lock.json\fR \fI\(la/configuring-npm/package-lock-json\(ra\fR .IP \(bu 4 \fBpackage.json\fR \fI\(la/configuring-npm/package-json\(ra\fR .IP \(bu 4 npm help install .RE 0