Comparing version 0.0.3 to 0.0.4
16
index.js
/** | ||
* reduced overhead transform stream | ||
*/ | ||
var Transform = require('stream').Transform | ||
require('utildot').inherits(thr, Transform) | ||
var Transform = require('stream').Transform; | ||
module.exports = function (fn,flush) { | ||
return new thr(fn, flush); | ||
} | ||
module.exports = function (fn,flush) { return new thr(fn, flush) } | ||
function thr(fn,flush){ | ||
if(flush) this._flush = flush | ||
this._transform = fn | ||
Transform.call(this) | ||
if(flush) this._flush = flush; | ||
this._transform = fn; | ||
Transform.call(this); | ||
} | ||
require('utildot').inherits(thr, Transform); |
{ | ||
"name": "thr", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "reduced overhead transform stream", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1739
5
30
25