UNPKG
choo-shortcache
Version:
latest (0.0.0)
0.0.0
choo nanocomponent cache shortcut
choo-shortcache
/
example
/
node_modules
/
module-deps
/
test
/
cache_persistent
/
error_transform.js
7 lines
(6 loc)
•
171 B
JavaScript
View Raw
1
2
3
4
5
6
7
var
through =
require
(
'through2'
);
module
.
exports
=
function
(
file
) {
return
through
(
function
(
chunk, enc, callback
) {
callback
(
new
Error
(
'rawr'
)); }); };