rxjs-props

Like Promise.props but for rxjs

Usage no npm install needed!

<script type="module">
  import rxjsProps from 'https://cdn.skypack.dev/rxjs-props';
</script>

README

rxjs-props

NPM version Build status Downloads

Usage

import { props } from 'rxjs-props';

props({
  str: of('str'),
  num: of(123),
}).subscribe(({ str, num }) => {
  console.log(str === 'str'); // true
  console.log(num === 123); // true
});