JSPM

jsonvalidator-cli

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 62
  • Score
    100M100P100Q65018F
  • License MIT

Validate JSON against JSON Schema with a command line interface (CLI).

Package Exports

  • jsonvalidator-cli

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jsonvalidator-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Forked from fmahnke/jsonschema-cli

This module provides a simple command line interface to Tom de Grunt's JSON schema validator.

Usage is simple:

validateJson.js -d <jsonPath> -s <schemaPath> [...]

The module will validate all provided schemas against JSON Schema v4, then validate the given JSON file against all the schemas. The output from the validator will be shown, including any errors during validation.