create package json
//create a custom one
npm init
//create a default one
npm init --yes
create package json
//create a custom one
npm init
//create a default one
npm init --yes
what is npm init
The npm init command is a step-by-step tool to scaffold out your project.
It will prompt you for input for a few aspects of the project
in the following order:
The project's name,
The project's initial version,
The project's description,
The project's entry point (meaning the project's main file),
The project's test command (to trigger testing with something like Standard)
The project's git repository (where the project source can be found)
The project's keywords (basically, tags related to the project)
The project's license (this defaults to ISC - most open-source Node.js projects are MIT)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us