package.json Generator
Scaffold a valid package.json.
package.json options
package.json
{
"name": "my-package",
"version": "1.0.0",
"description": "A brand new package.",
"main": "index.js",
"scripts": {
"start": "node index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "MIT"
}
About this tool
Fill in the fields npm cares about to produce a valid package.json you can drop into a new project.
How to use
- Enter name, version, description, and entry point.
- Add scripts and metadata as needed.
- Copy the generated package.json.
Examples
Field
{ "name": "my-app", "version": "1.0.0" }Frequently asked questions
No. It only produces the JSON text. Run npm install yourself afterward.