README.md

November 17, 2025 ยท View on GitHub

Package Json Validator CLI

CLI to validate package.json files. ๐Ÿ“‚

๐Ÿ‘ช All Contributors: 2 ๐Ÿค Code of Conduct: Kept ๐Ÿงช Coverage ๐Ÿ“ License: MIT ๐Ÿ“ฆ npm version ๐Ÿ’ช TypeScript: Strict

Usage

Run this package as a terminal command to validate a package.json file:

npx package-json-validator-cli

See package-json-validator-cli --help for usage:

Options:
      --help             Show help                                     [boolean]
      --version          Show version number                           [boolean]
  -f, --filename         package.json file to validate [default: "package.json"]
  -w, --warnings         display warnings             [boolean] [default: false]
  -r, --recommendations  display recommendations      [boolean] [default: false]
  -q, --quiet            less output                  [boolean] [default: false]

package-json-validator-cli is a thin wrapper around package-json-validator.

Example

You might want to use this as a standalone script in your package.json:

// package.json
{
	"scripts": {
		"lint:package": "package-json-validator-cli",
	},
}

Development

See .github/CONTRIBUTING.md, then .github/DEVELOPMENT.md. Thanks! ๐Ÿ“‚

Contributors

Josh Goldberg โœจ
Josh Goldberg โœจ

๐Ÿ› ๐Ÿ’ป ๐Ÿ–‹ ๐Ÿ“– ๐Ÿค” ๐Ÿš‡ ๐Ÿšง ๐Ÿ“† ๐Ÿ”ง
michael faith
michael faith

๐Ÿ› ๐Ÿ’ป ๐Ÿ–‹ ๐Ÿ“– ๐Ÿค” ๐Ÿš‡ ๐Ÿšง ๐Ÿ“† ๐Ÿ”ง

๐Ÿ’ This package was templated with create-typescript-app using the Bingo framework.