mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-04 04:40:05 +02:00
update packages to latest version
This commit is contained in:
34
node_modules/npm/man/man3/npm-load.3
generated
vendored
Normal file
34
node_modules/npm/man/man3/npm-load.3
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
.TH "NPM\-LOAD" "3" "March 2017" "" ""
|
||||
.SH "NAME"
|
||||
\fBnpm-load\fR \- Load config settings
|
||||
.SH SYNOPSIS
|
||||
.P
|
||||
.RS 2
|
||||
.nf
|
||||
npm\.load(conf, cb)
|
||||
.fi
|
||||
.RE
|
||||
.SH DESCRIPTION
|
||||
.P
|
||||
npm\.load() must be called before any other function call\. Both parameters are
|
||||
optional, but the second is recommended\.
|
||||
.P
|
||||
The first parameter is an object containing command\-line config params, and the
|
||||
second parameter is a callback that will be called when npm is loaded and ready
|
||||
to serve\.
|
||||
.P
|
||||
The first parameter should follow a similar structure as the package\.json
|
||||
config object\.
|
||||
.P
|
||||
For example, to emulate the \-\-dev flag, pass an object that looks like this:
|
||||
.P
|
||||
.RS 2
|
||||
.nf
|
||||
{
|
||||
"dev": true
|
||||
}
|
||||
.fi
|
||||
.RE
|
||||
.P
|
||||
For a list of all the available command\-line configs, see \fBnpm help config\fP
|
||||
|
Reference in New Issue
Block a user