UNPKG

etl

Version:

Collection of stream-based components that form an ETL pipeline

19 lines (13 loc) 367 B
var Streamz = require('streamz'), util = require('util'); function Inspect(options) { if (!(this instanceof Streamz)) return new Inspect(options); Streamz.call(this); this.options = this.options || {}; } util.inherits(Inspect,Streamz); Inspect.prototype._fn = function(d) { console.log(util.inspect(d,this.options)); }; module.exports = Inspect;