• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#! /usr/bin/env node
2
3var JSONStream = require('./')
4
5if(!module.parent && process.title !== 'browser') {
6  process.stdin
7    .pipe(JSONStream.parse(process.argv[2]))
8    .pipe(JSONStream.stringify('[', ',\n', ']\n', 2))
9    .pipe(process.stdout)
10}
11
12
13