Files
seatmapv2/client/node_modules/JSONStream/bin.js
2021-03-02 00:06:38 +01:00

13 lines
251 B
JavaScript
Executable File

#! /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)
}