callback2stream

Transform sync, async or generator function to Stream. Correctly handle errors and optional arguments.
v1.0.1 URL: https://unpkg.com/callback2stream@1.0.1/index.js
OpenBrowse Files
argsargumentsasyncasynchronouscallbackcallback-streamcbcorrectcreatefnfunctiongeneratorgeneratorslettamakeoptionalpromisifyrelikestreamstreamifysyncsynchronoustoto-streamtranformvalue

value2stream

Transform any value to stream. Create a stream from any value - string, array, buffer, number, promise or even Error object.
v1.0.0 URL: https://unpkg.com/value2stream@1.0.0/index.js
OpenBrowse Files
anyanythingbufferconvertcreatecreate-streamerrorseverythinghandlemakenumberpromisestrstreamstringtoto-streamtransformvalvaluevalue-streamvalue-to-stream