A recursive directory JSON validator using jsonlint. Version 2.0.1 requires Node >=18.17, removes extra dependencies from v1, and outputs a summary of valid/invalid files. It differs from other JSON linters by operating recursively on directories rather than single files, providing a clear CLI output with counts. Maintained by educastellano.
npm install jsonlint-treeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to run jsonlint-tree on a directory, outputting valid/invalid file counts.
Upgrade Node.js to >=18.17 or use version 1.x for older Node.
Update to version 2.0.1 with npm install jsonlint-tree@latest
Use child_process.spawn or exec to run the CLI from within Node scripts.
Install globally or use npx; do not import it in code.
Run: npx jsonlint-tree <directory-path>
Provide a valid directory path.