UNPKG

@calipsa/video-utils

Version:
14 lines 444 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const stream_1 = require("stream"); exports.default = (buffers) => { const imagesStream = new stream_1.PassThrough(); // repeat for every image... for (const buf of buffers) { imagesStream.write(buf, 'binary'); } // then finally end the stream imagesStream.end(); return imagesStream; }; //# sourceMappingURL=buffersToStream.js.map