Files
actions-ansi-to-html/node_modules/JSONStream/bin.js
T
2025-11-11 06:53:11 -05: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)
}