• File: bin.js
  • Full Path: /home6/laduliya/test.mydthpay.com/node_modules/npm/node_modules/JSONStream/bin.js
  • Date Modified: 10/26/1985 11:45 AM
  • File size: 251 bytes
  • MIME-type: text/plain
  • Charset: utf-8
#! /usr/bin/env node

var JSONStream = require('./')

if(!module.parent && process.title !== 'browser') {
  process.stdin
    .pipe(JSONStream.parse(process.argv[2]))
    .pipe(JSONStream.stringify('[', ',\n', ']\n', 2))
    .pipe(process.stdout)
}