package-json-check
v1.0.1
Published
Validate and lint your package.json for typos and hygiene
Maintainers
Readme
📦 package-json-check
A CLI tool to lint and validate your
package.jsonfor typos, missing fields, and common mistakes.
🧠 Why?
package.json is critical to your JS/TS projects. Typos, unused fields, or missing metadata can cause bugs in tooling, publishing, or documentation. This tool catches those early.
🚀 Features
- ✅ Detect typos (e.g.,
"scipts"instead of"scripts") - ✅ Warn on missing fields like
name,license,version - ✅ Suggest fixes for near matches
- ✅ Warn on small/missing keyword arrays
- ✅ Validate if scripts like
"test"are actually usable - ✅ Fast and offline-first
📦 Install
npm install -g package-json-check
Uses
npx package-json-check
