Sha256: a2dc20e6ce5cebdeadcbf355fb7b9368c0ee5fd32cab967af6ad7dd586d95c7c
Contents?: true
Size: 304 Bytes
Versions: 7
Compression:
Stored size: 304 Bytes
Contents
#!/usr/bin/env node var argv = require('subarg')(process.argv.slice(2)); var JSONStream = require('JSONStream'); var sort = require('../')(argv); var parse = JSONStream.parse([ true ]); var stringify = JSONStream.stringify(); process.stdin.pipe(parse).pipe(sort).pipe(stringify).pipe(process.stdout);
Version data entries
7 entries across 7 versions & 2 rubygems