Stream Conversions
Convert between different stream implementations
Install
npm install stream-conversions
Supported Stream libraries
- Most.js - aliased as most
- Rx 4 - aliased as rx
- Bacon.js - aliased as bacon
- Kefir.js - aliased as kefir
- xstream - aliased as xstream
API
fromLibrary. to. toLibrary (stream)
- Arguments :
- fromLibrary :: Object key - All supported library aliases
- toLibrary :: Object key - All supported library aliases
- stream :: fromLibrary type Stream - A stream of the fromLibrary type
- Returns : A stream of the toLibrary type
Examples
convertmostto // 100 convertrxto // 100 convertbaconto // 100 convertkefirto // 100convertkefirto // 100
How to add support for other libraries
coming soon...