Lines Matching full:init
1 .TH "NPM\-INIT" "1" "April 2022" "" ""
3 \fBnpm-init\fR \- create a package\.json file
8 npm init [\-\-force|\-f|\-\-yes|\-y|\-\-scope]
9 npm init <@scope> (same as `npx <@scope>/create`)
10 npm init [<@scope>/]<name> (same as `npx [<@scope>/]create\-<name>`)
19 $ npm init react\-app \./my\-react\-app
28 $ npm init esm \-\-yes
32 Generate a plain old package\.json using legacy init:
37 $ git init
38 $ npm init
46 $ npm init \-y
51 \fBnpm init <initializer>\fP can be used to set up a new or existing npm package\.
58 The init command is transformed to a corresponding \fBnpx\fP operation as follows:
61 \fBnpm init foo\fP \-> \fBnpx create\-foo\fP
63 \fBnpm init @usr/foo\fP \-> \fBnpx @usr/create\-foo\fP
65 \fBnpm init @usr\fP \-> \fBnpx @usr/create\fP
69 Any additional options will be passed directly to the command, so \fBnpm init foo
72 If the initializer is omitted (by just calling \fBnpm init\fP), init will fall back
73 to legacy init behavior\. It will ask you a bunch of questions, and then write a
82 https://github\.com/isaacs/init\-package\-json