package.json Generator
Build an npm manifest with metadata, scripts, dependencies and publishing details. Preview and download package.json.
package-json-generatorLOCAL WORKSPACE
Enabling local controls…
Settings
Enter one item per line. Use package-name version for dependencies. Registry tags also work. Quick choices add latest and you can edit each version in the list.
Publishing settings
Results
package.json
{
"name": "sample-app",
"version": "1.0.0",
"private": true,
"type": "module",
"main": "index.js",
"license": "MIT",
"scripts": {
"start": "node index.js",
"test": "node --test"
},
"engines": {
"node": ">=22"
}
}
How to use this tool
Build an npm manifest with metadata, scripts, dependencies and publishing details. Preview and download package.json.
When not to use it
Accepts supported registry version ranges and tags. Package scripts are exported as text. The tool does not contact npm.