Closed jamestalmage closed 8 years ago
Fixes #2
This adds the following shortcut registrations:
rxjs-min
rxjs
Observable.of
Observable.from
rxjs-all
zen
zen-observable
Shortcut registration can be done as follows:
import `any-observable/register/zen`;
It's especially handy for more recent versions of Node (and many test runners), that offer a --require flag:
--require
$ ava --require any-observable/register/zen test.js
Can you add the register shortcuts we support to the readme? Pretty much just copy-paste the PR description.
docs added.
LGTM to merge when the minor inline feedback is resolved :)
Fixes #2
This adds the following shortcut registrations:
rxjs-min
: Bare bones rxjs implementation.rxjs
: Same asrxjs-min
, but adds the somewhat standardObservable.of
andObservable.from
.rxjs-all
: The kitchen sink approach to Observables.zen
: Thezen-observable
implementation.Shortcut registration can be done as follows:
It's especially handy for more recent versions of Node (and many test runners), that offer a
--require
flag: