1 .TH "NPM\-LOAD" "3" "October 2016" "" ""
3 \fBnpm-load\fR \- Load config settings
13 npm\.load() must be called before any other function call\. Both parameters are
14 optional, but the second is recommended\.
16 The first parameter is an object containing command\-line config params, and the
17 second parameter is a callback that will be called when npm is loaded and ready
20 The first parameter should follow a similar structure as the package\.json
23 For example, to emulate the \-\-dev flag, pass an object that looks like this:
33 For a list of all the available command\-line configs, see \fBnpm help config\fP