1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/npm-init.md

17 lines
332 B
Markdown
Raw Normal View History

# 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}}`