Skip to content

A simple CLI tool to help you check if you’re missing a property in your JSON/YAML instance file (ex: appsettings and etc)

License

Notifications You must be signed in to change notification settings

caiobep/compare-json-schemas

Repository files navigation

Compare Schemas

Node.js CI codecov

A simple CLI tool to help you compare multiple JSON/JSONC/Yaml files to check if your missing an specific key

Usage

Make sure you have Node.js and npm installed.

npm install -g compare-json-schemas
compare-schemas ./file1.json ./file2.json ./file3.yaml

How is this different from tools like the brilliant ajv-cli and jsonlint-cli

This project dynamically generates a schema based on existing json files, meaning you don't need to write a proper schema file in order for it to work. Simply pass the file you want to extract the schema from as first argument, and that's it. There's no step 2.

License

This project is licensed under MIT. You can get more information at the License file

About

A simple CLI tool to help you check if you’re missing a property in your JSON/YAML instance file (ex: appsettings and etc)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published