@mapbox/jsonlint-check

Check JSON for linted-ness.

Stats

StarsIssuesVersionUpdatedCreatedSize
@mapbox/jsonlint-check
0.1.05 years ago5 years agoMinified + gzip package size for @mapbox/jsonlint-check in KB

Readme

Build Status

Check JSON for linted-ness.

JavaScript

var check = require('@mapbox/jsonlint-check');
var json = '{"foo":"bar","baz":"bin"}';

if (check(json, 2, false)) {
    console.error('json is linted with 2 space indents');
} else {
    console.error('json is not linted');
}

CLI

See USAGE.txt

Tests

npm test

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.