From 9c99b1ae269d90d51ba37e347ad22d0463596020 Mon Sep 17 00:00:00 2001 From: Martin Blume Date: Thu, 31 Oct 2024 09:13:30 +0100 Subject: [PATCH] npm-init: add page (#14481) Co-authored-by: Wiktor Perskawiec --- pages/common/npm-init.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/npm-init.md diff --git a/pages/common/npm-init.md b/pages/common/npm-init.md new file mode 100644 index 000000000..82b273d51 --- /dev/null +++ b/pages/common/npm-init.md @@ -0,0 +1,16 @@ +# npm init + +> Create a `package.json` file. +> More information: . + +- 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}}`