Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.15 KB

README.md

File metadata and controls

33 lines (20 loc) · 1.15 KB

@crikey/stores-rxjs

Simple conversion functions to allow interop of Svelte style stores with RxJS style stores

See @crikey/stores-rxjs for full documentation.

codecov

API

Store creation functions:

  • readable - Create a Readable store from an RxJS store without any caching
  • readable_persist - Create a Readable store which is updated from an RxJS store
  • observe_store - Created a BehaviorSubject style RxJS store from a Svelte style store

Promise creation functions:

  • promise - Create a Promise 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