Initial commit
commit
83dd84dc83
@ -0,0 +1 @@
|
|||||||
|
node_modules
|
@ -0,0 +1,12 @@
|
|||||||
|
"use strict";
|
||||||
|
|
||||||
|
const pipe = require("@promistream/pipe");
|
||||||
|
const map = require("@promistream/map");
|
||||||
|
const buffer = require("@promistream/buffer");
|
||||||
|
|
||||||
|
module.exports = function createBufferedMapStream(mapCallback) {
|
||||||
|
return pipe([
|
||||||
|
map(mapCallback),
|
||||||
|
buffer()
|
||||||
|
]);
|
||||||
|
};
|
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"name": "@promistream/buffered-map",
|
||||||
|
"version": "0.1.0",
|
||||||
|
"main": "index.js",
|
||||||
|
"repository": "http://git.cryto.net/promistream/buffered-map.git",
|
||||||
|
"author": "Sven Slootweg <admin@cryto.net>",
|
||||||
|
"license": "WTFPL OR CC0-1.0"
|
||||||
|
}
|
Loading…
Reference in New Issue