@crikey/stores-rxjs
v0.0.16
Published
Simple conversion functions to allow interop of [Svelte](https://svelte.dev/) style stores with [RxJS](https://rxjs.dev/) style stores
Downloads
16
Readme
@crikey/stores-rxjs
Simple conversion functions to allow interop of Svelte style stores with RxJS style stores
See @crikey/stores-rxjs for full documentation.
API
Store creation functions:
readable- Create aReadablestore from an RxJS store without any cachingreadable_persist- Create aReadablestore which is updated from an RxJS storeobserve_store- Created a BehaviorSubject style RxJS store from a Svelte style store
Promise creation functions:
promise- Create aPromiseinstance which tracks the state from a readable store containing a promise state
Installation
# pnpm
$ pnpm add @crikey/stores-rxjs
# npm
$ npm add @crikey/stores-rxjs
# yarn
$ yarn add @crikey/stores-rxjs