{"body":"module.exports.createFunctionStream = createFunctionStream\n\nfunction createFunctionStream(func) {\n  var funcStr = func + ';\\n return this;'\n  if (func[0] === '{') funcStr = 'var that = ' + func + ';\\n return that;'\n  var compiled = new Function(funcStr)\n  \n  function transform(obj, enc, next) {\n    var out = compiled.call(obj, obj)\n    this.push(out)\n    next()\n  }\n\n  return through.obj(transform)\n}","name":"","extension":"","url":"https://www.irccloud.com/pastebin/eJwmktt7","modified":1415113284,"id":"eJwmktt7","size":402,"lines":15,"own_paste":false,"theme":"","date":1415113284}