X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.maps.server%2Fnode%2Fnode-v4.8.0-win-x64%2Fnode_modules%2Fnpm%2Fman%2Fman3%2Fnpm-load.3;fp=org.simantics.maps.server%2Fnode%2Fnode-v4.8.0-win-x64%2Fnode_modules%2Fnpm%2Fman%2Fman3%2Fnpm-load.3;h=b5b7c9eaf6fbeea74e8cdbc19ebd5ffec12165d2;hb=2529be6d456deeb07c128603ce4971f1dc29b695;hp=0000000000000000000000000000000000000000;hpb=2636fc31c16c23711cf2b06a4ae8537bba9c1d35;p=simantics%2Fdistrict.git diff --git a/org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/man/man3/npm-load.3 b/org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/man/man3/npm-load.3 new file mode 100644 index 00000000..b5b7c9ea --- /dev/null +++ b/org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/man/man3/npm-load.3 @@ -0,0 +1,34 @@ +.TH "NPM\-LOAD" "3" "October 2016" "" "" +.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 +