How the Package.json Generator Works
AnyTool builds a package.json from a guided form covering all core fields (name, version, description, type, main/module/types, files, private), a scripts editor, dependency/devDependency/peerDependency management, a full SPDX license picker, and an exports/bin/engines editor. It validates the package name live against the official npm rules, checks SPDX license expressions and semver ranges, and rebuilds a syntax-highlighted preview on every keystroke. Framework presets seed sensible scripts and defaults.
- All core fields plus scripts, deps, exports, bin, engines
- Live npm package-name validation (official rules)
- Full SPDX license picker with expression validation
- Framework presets (Next.js, React+Vite, Express, CLI, Library)
- Live syntax-highlighted preview; copy or download
