@crikey/stores-promise
TypeScript icon, indicating that this package has built-in type declarations

0.0.16 • Public • Published

@crikey/stores-promise

Svelte compatible stores from promises

See @crikey/stores-promise for full documentation.

codecov

API

Store creation functions:

  • readable - Create a store tracking the state of a promise
  • derive - Derive a Promise instance from the resolved values of other stores

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-promise

# npm
$ npm add @crikey/stores-promise

# yarn
$ yarn add @crikey/stores-promise

Readme

Keywords

none

Package Sidebar

Install

npm i @crikey/stores-promise

Weekly Downloads

25

Version

0.0.16

License

MIT

Unpacked Size

18.1 kB

Total Files

9

Last publish

Collaborators

  • whenderson-crikey
  • whenderson