1 .TH "NPM\-INIT" "1" "October 2016" "" ""
3 \fBnpm-init\fR \- Interactively create a package\.json file
8 npm init [\-f|\-\-force|\-y|\-\-yes]
13 This will ask you a bunch of questions, and then write a package\.json for you\.
15 It attempts to make reasonable guesses about what you want things to be set to,
16 and then writes a package\.json file with the options you've selected\.
18 If you already have a package\.json file, it'll read that first, and default to
19 the options in there\.
21 It is strictly additive, so it does not delete options from your package\.json
22 without a really good reason to do so\.
24 If you invoke it with \fB\-f\fP, \fB\-\-force\fP, \fB\-y\fP, or \fB\-\-yes\fP, it will use only
25 defaults and not prompt you for any options\.
36 The scope under which the new module should be created\.
40 https://github\.com/isaacs/init\-package\-json
42 npm help 5 package\.json