Answers for "how to install package.json in node js"

4

how to create a package.json file in npm

npm init
Posted by: Guest on October-03-2020
2

install node modules from package.json

npm install (with no args, in package dir)
npm install [<@scope>/]<name>
npm install [<@scope>/]<name>@<tag>
npm install [<@scope>/]<name>@<version>
npm install [<@scope>/]<name>@<version range>
npm install <git-host>:<git-user>/<repo-name>
npm install <git repo url>
npm install <tarball file>
npm install <tarball url>
npm install <folder>

aliases: npm i, npm add
common options: [-P|--save-prod|-D|--save-dev|-O|--save-optional] [-E|--save-exact] [-B|--save-bundle] [--no-save] [--dry-run]
Posted by: Guest on May-28-2020
0

how to install package.json in node js

cd /path/to/package
npm init
Posted by: Guest on April-01-2021

Code answers related to "how to install package.json in node js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language