mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 11:53:11 +02:00
npm-init: add page (#14481)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
parent
d74970154c
commit
9c99b1ae26
1 changed files with 16 additions and 0 deletions
16
pages/common/npm-init.md
Normal file
16
pages/common/npm-init.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# npm init
|
||||
|
||||
> Create a `package.json` file.
|
||||
> More information: <https://docs.npmjs.com/cli/commands/npm-init>.
|
||||
|
||||
- Initialize a new package with prompts:
|
||||
|
||||
`npm init`
|
||||
|
||||
- Initialize a new package with default values:
|
||||
|
||||
`npm init -y`
|
||||
|
||||
- Initialize a new package using a specific initializer:
|
||||
|
||||
`npm init {{create-react-app}} {{my-app}}`
|
Loading…
Add table
Reference in a new issue