Tested tool guide
Tested browser tools
Checked August 16, 2026
What package.json Generator does, with a checked example
This tool assembles a package.json file from form fields instead of hand-typed JSON: package name, version, description, entry point, license, author, npm scripts, and a dependency list. Each field maps directly to the matching JSON key, and fields left blank are simply omitted rather than filled with guesses. The most common surprise is dependency versions: the generator does not query the npm registry, so whatever version string you type - including the word 'latest' - is written into the file exactly as entered, with no resolution to an actual published version number.
Worked example
A concrete input and expected output from the current implementation.
Input
name: weather-cli
version: 0.1.0
description: Fetch current weather from the command line
main: bin/cli.js
license: MIT
author: Jane Doe
scripts: start = node bin/cli.js, test = echo "no tests yet"
dependencies: commander @ ^12.0.0
->
Expected output
{
"name": "weather-cli",
"version": "0.1.0",
"description": "Fetch current weather from the command line",
"main": "bin/cli.js",
"scripts": {
"start": "node bin/cli.js",
"test": "echo \"no tests yet\""
},
"author": "Jane Doe",
"license": "MIT",
"dependencies": {
"commander": "^12.0.0"
}
} Each form field writes to its corresponding top-level key; repeatable script and dependency rows become nested objects keyed by the name you typed, with the value copied through unchanged.