// READ
// node read.js < 1596859367268.json
const data = require("fs").readFileSync("/dev/stdin", "utf8");
console.log(data);
// WRITE
// node foo.js > `date '+%Y%m%d%H%M%S'`.json
// READ
// node read.js < 1596859367268.json
const data = require("fs").readFileSync("/dev/stdin", "utf8");
console.log(data);
// WRITE
// node foo.js > `date '+%Y%m%d%H%M%S'`.json