shush

    1.0.0 • Public • Published
    shush

    Hush up those JSON comments.

    shush is a simple node module that allows JSON files containing comments to be read into a module using a require-like syntax.

    /* jsonWithComments.js */
    {
        // a property
        "myProp": "isCool"
    }
    // foo.js
    var shush = require('shush'),
        config = shush('./jsonWithComments');
     
    console.log(config); // {"myProp": "isCool"}

    Forthcoming feature: streaming.

    Keywords

    none

    Install

    npm i shush

    DownloadsWeekly Downloads

    177,326

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • aredridel
    • shaunwarman
    • totherik