0.0.0 • Published 3 years ago

brevno-rxjs v0.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
3 years ago

brevno-rxjs

npm version gzip size tree shaking

Brevno plugin for RxJS.

Installing

  1. Install RxJS and Brevno if you haven't already.

  2. Install the NPM package:

    yarn add brevno-rxjs

    or

    npm install brevno-rxjs --save
  3. Optional: if you use Jest, you can add a serializer that represents an RxJS observable as just [Observable] instead of

    Observable {
      "_isScalar": false,
      "_subscribe": [Function],
    }

    Here's how to do this:

    • If you use Create React App, import 'brevno-rxjs/setupTests' in your src/setupTests.ts.

    • Otherwise, add an item "<rootDir>/node_modules/brevno-rxjs/build/main/setupTests.js" to "setupFilesAfterEnv" array in Jest config.

Usage

TODO


Contributing guidelines