@crikey/stores-promise
v0.0.16
Published
[Svelte](https://svelte.dev/) compatible stores from promises
Downloads
18
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 aPromiseinstance from the resolved values of other stores
Promise creation functions:
promise- Create aPromiseinstance 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