Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/origin-1/sync-readable

Synchronize a function that returns a Node.js readable stream.
https://github.com/origin-1/sync-readable

Last synced: about 16 hours ago
JSON representation

Synchronize a function that returns a Node.js readable stream.

Awesome Lists containing this project

README

        

# sync-readable · [![npm version][npm badge]][npm URL]

A utility to convert a function that returns a `Promise` of a Node.js `ReadableStream` into a function that returns a Node.js `ReadableStream`.
The new function accepts the same arguments as the original function.

[npm badge]: https://img.shields.io/npm/v/sync-readable?logo=npm
[npm URL]: https://www.npmjs.com/package/sync-readable