npm init
It is all you need. It will create the package.json file on the fly for you.
More Related Contents:
- How can I update NodeJS and NPM to their latest versions?
- How to use executables from a package installed locally in node_modules?
- NPM modules won’t install globally without sudo
- Node – was compiled against a different Node.js version using NODE_MODULE_VERSION 51
- How to include scripts located inside the node_modules folder?
- npm: When to use `–force` and `–legacy-peer-deps`
- What could cause an error related to npm not being able to find a file? No contents in my node_modules subfolder. Why is that?
- Find the version of an installed npm package
- NPM Install Error:Unexpected end of JSON input while parsing near ‘…nt-webpack-plugin”:”0’
- Error: EACCES: permission denied, access ‘/usr/local/lib/node_modules’
- Using npm behind corporate proxy .pac
- npm WARN package.json: No repository field
- How to npm install to a specified directory?
- can you host a private repository for your organization to use with npm?
- Angular2 QuickStart npm start is not working correctly
- Node Sass couldn’t find a binding for your current environment
- npm ERR! code UNABLE_TO_GET_ISSUER_CERT_LOCALLY
- How to consume npm modules from typescript?
- Global Node modules not installing correctly. Command not found
- npm install hangs
- Error “npm WARN package.json: No repository field”
- What is the difference between res.send and res.write in express?
- Jest gives `Cannot find module` when importing components with absolute paths
- Is there any way to fix package-lock.json lockfileVersion so npm uses a specific format?
- Cannot uninstall angular-cli
- The best way to run npm install for nested folders?
- libsass bindings not found when using node-sass in nodejs
- How to set env var for .npmrc use
- npm ERR! git dep preparation failed when trying to install package.json
- Webpack how to build production code and how to use it