Browse Source

Initial commit

master
Sven Slootweg 4 months ago
commit
83dd84dc83
  1. 1
      .gitignore
  2. 12
      index.js
  3. 8
      package.json

1
.gitignore

@ -0,0 +1 @@
node_modules

12
index.js

@ -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()
]);
};

8
package.json

@ -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…
Cancel
Save