Sign in
apache
/
cordova-osx
/
6d00379c5b0ff30714987ad3172e30356620105b
/
.
/
node_modules
/
minipass
/
bench
/
lib
/
extend-through2.js
blob: 6a021084c42fbc51d480947f8c014244bf73c062 [
file
] [
log
] [
blame
]
'use strict'
const
through2
=
require
(
'through2'
)
module
.
exports
=
function
(
opt
)
{
return
opt
.
objectMode
?
through2
.
obj
(
func
)
:
through2
(
func
)
function
func
(
data
,
enc
,
done
)
{
this
.
push
(
data
,
enc
)
done
()
}
}