Sha256: 07fc0cf308094336d897d68699ec22a7aee3c6140c7fcf4f7971e3abd8a554e9
Contents?: true
Size: 274 Bytes
Versions: 4
Compression:
Stored size: 274 Bytes
Contents
// ensures config correctly arrives via stdin // // reads json from stdin, adds "processed: true", and writes it to stdout. var system = require('system') config = JSON.parse(system.stdin.read()) config.processed = true console.log(JSON.stringify(config)) phantom.exit(0)
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
shrimple-0.8.6 | spec/parse_and_print_stdin.js |
shrimple-0.8.4 | spec/parse_and_print_stdin.js |
shrimple-0.8.2 | spec/parse_and_print_stdin.js |
shrimple-0.8.0 | spec/parse_and_print_stdin.js |