compare-json-schemas
v0.1.0-rc.4
Published
A CLI to compare keys from JSON files
Downloads
2
Readme
Compare Schemas
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-schemas
compare-schemas ./file1.json ./file2.json
or
npx compare-schemas ./file1.json ./file2.json ./file3.yml
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