@crikey/stores-promise
v0.0.16
Published
[Svelte](https://svelte.dev/) compatible stores from promises
Downloads
10
Readme
@crikey/stores-promise
Svelte compatible stores from promises
See @crikey/stores-promise for full documentation.
API
Store creation functions:
readable
- Create a store tracking the state of a promisederive
- Derive aPromise
instance from the resolved values of other stores
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-promise
# npm
$ npm add @crikey/stores-promise
# yarn
$ yarn add @crikey/stores-promise