most-combineobj
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

most-combineobj

Combine Objects of Streams

This is helpful library for combining an object of streams, into a single stream containing an object of values.

Let me have it!

npm install --save most-combineobj

API

combineObj (objectOfStreams): Stream

const obj = {
  a: just(1),
  b: just(2),
  c: just(3),
};
 
combineObj(obj).observe(({ a, b, c }) => {
  console.log(a, b, c) // 1 2 3
});

Package Sidebar

Install

npm i most-combineobj

Weekly Downloads

4

Version

1.0.0

License

MIT

Last publish

Collaborators

  • tylors