@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 aReadable
store from an RxJS store without any cachingreadable_persist
- Create aReadable
store which is updated from an RxJS storeobserve_store
- Created a BehaviorSubject style RxJS store from a Svelte style store
Promise creation functions:
promise
- Create aPromise
instance 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