Arithmetics for RxJS Observables
npm install rxmetics



``bash`
npm i rxmetics
This is a minimal RxJS library for lazy people. Instead of this:
`ts
import { combineLatest, ... } from 'rxjs';
import { map, ... } from 'rxjs/operators';
// ...
combineLatest(a, b).pipe(map(([a, b]) => a + b))...
`
You can do this:
`ts
import { add } from 'rxmetics';
// ...
add(a, b)...
`
Or this:
`ts
import { add } from 'rxmetics/pipes';
// ...
a.pipe(add(b))...
`
But its not just for numbers (its RxJS arithmetics):
`ts
import { and, eq } from 'rxmetics';
// ...
and(a.pipe(eq(32)), b.pipe(eq('halo')))...
`
`ts
import { rxl } from 'rxmetics';
import { interval } from 'rxjs';
// ...
rxlhellow ${interval(1000)}.subscribe(console.log);
// RESULT:
// > hellow
// > hellow 1
// > hellow 2
// > hellow 3
// ...
``
Check out the docs for more info.