Nitrogenous Polymorphic Molecule

    @mapbox/jsonlint-check

    0.1.0 • Public • Published

    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
    

    Keywords

    none

    Install

    npm i @mapbox/jsonlint-check

    DownloadsWeekly Downloads

    2

    Version

    0.1.0

    License

    ISC

    Last publish

    Collaborators

    • mapbox-machine-user
    • mapbox-npm-ci
    • mapbox-npm-advanced-actions
    • mapbox-npm-09
    • mapbox-npm-08
    • mapbox-npm-07
    • mapbox-npm-06
    • mapbox-npm-05
    • mapbox-npm-04
    • mapbox-npm-03
    • mapbox-npm-02
    • mapbox-npm-01
    • mapbox-npm
    • mapbox-admin