.TH "NPM\-SHRINKWRAP" "1" "November 2022" "9.1.1" .SH "NAME" \fBnpm-shrinkwrap\fR .SH Synopsis .P Note: This command is unaware of workspaces\. .SH Description .P This command repurposes \fBpackage\-lock\.json\fP into a publishable .br \fBnpm\-shrinkwrap\.json\fP or simply creates a new one\. The file created and .br updated by this command will then take precedence over any other existing .br or future \fBpackage\-lock\.json\fP files\. For a detailed explanation of the .br design and purpose of package locks in npm, see .br package\-lock\-json\. .SH See Also .RS 1 .IP \(bu 2 npm install .IP \(bu 2 npm run\-script .IP \(bu 2 npm scripts .IP \(bu 2 package\.json .IP \(bu 2 package\-lock\.json .IP \(bu 2 npm\-shrinkwrap\.json .IP \(bu 2 npm ls .RE