1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-03 20:30:04 +02:00
Files
minifyfromhtml/node_modules/npm/man/man3/npm-shrinkwrap.3
2022-08-20 18:51:33 +02:00

25 lines
718 B
Groff

.TH "NPM\-SHRINKWRAP" "3" "March 2017" "" ""
.SH "NAME"
\fBnpm-shrinkwrap\fR \- programmatically generate package shrinkwrap file
.SH SYNOPSIS
.P
.RS 2
.nf
npm\.commands\.shrinkwrap(args, [silent,] callback)
.fi
.RE
.SH DESCRIPTION
.P
This acts much the same ways as shrinkwrapping on the command\-line\.
.P
This command does not take any arguments, but 'args' must be defined\.
Beyond that, if any arguments are passed in, npm will politely warn that it
does not take positional arguments\.
.P
If the 'silent' parameter is set to true, nothing will be output to the screen,
but the shrinkwrap file will still be written\.
.P
Finally, 'callback' is a function that will be called when the shrinkwrap has
been saved\.