9 lines
180 B
JavaScript
9 lines
180 B
JavaScript
|
var logfmt = require('../logfmt');
|
||
|
var through = require('through');
|
||
|
|
||
|
process.stdin
|
||
|
.pipe(logfmt.streamParser())
|
||
|
.pipe(through(function(object){
|
||
|
console.log(object);
|
||
|
}))
|