jlint
v3.0.2
Published
cli that parses the current JSON you have in your current clipboard
Downloads
116
Maintainers
Readme
jlint 
cli that parses the JSON you have in your current clipboard

Install
$ npm i -g jlintUsage
$ jlint --help
Usage
$ jlint
Options
-s, --silent Don't output json, just parse
-g, --glob Files to match using glob pattern
Examples
$ jlint --silent
✔
$ jlint --glob './*.js'
✖ ./cli.js
Unexpected token '#' at 1:1
#!/usr/bin/env node
^
$ jlint package.json test.js --silent
✔ package.json
✖ test.js
$ cat package.json | jlint --silent
✔Piping also works:
$ cat log.json | jlintGlob support:
$ jlint --glob './*.js'Or just pass in files:
$ jlint package.json test.jsLicense
MIT © Søren Brokær
