slue-stream

Stream tools, used to get a transform or readable stream。

Usage no npm install needed!

<script type="module">
  import slueStream from 'https://cdn.skypack.dev/slue-stream';
</script>

README

slue-stream

Stream tools, used to get a transform or readable stream。

transformObj

const slueStream = require('slue-stream');
let sluePlugin = slueStream.transformObj(function(file, evn, cb) {
    cb(null, file);
});

combine

combine streams

    let stream = slueStream.combine([stream1, stream2])

readable

    let stream = slueStream.readable()