1
0
Fork 0
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:
Martin Blume 2024-10-31 09:13:30 +01:00 committed by GitHub
parent d74970154c
commit 9c99b1ae26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

16
pages/common/npm-init.md Normal file
View 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}}`