NASA Planetary Mission

    json-stringified-stream

    0.2.0 • Public • Published

    json-stringified-stream

    Build Status NPM version NPM downloads LICENSE

    Transform stream accepting a JSON string to parse and stringify with an optional delimiter.

     % npm install json-stringified-stream
    

    Usage Example

    var stringify = require('./index');
    var transform = stringify("\n");
    process.stdin.pipe(transform).pipe(process.stdout);
    

    Running the examples

    output package.json contents on a single line with a trailing newline.

     % cat package.json | node examples/with-transform-stream.js
    

    output package.json contents as it appears in package.json (i.e. no transform).

     % cat package.json | node examples/no-transform-stream.js
    

    Inspiration

    License

    MIT

    Install

    npm i json-stringified-stream

    DownloadsWeekly Downloads

    0

    Version

    0.2.0

    License

    MIT

    Last publish

    Collaborators

    • wilmoore