svelte-pipeable-store
v1.0.3
Published
Fork of Svelte v3 store with pipe method
Downloads
371
Readme
Svelte Pipeable Store
This is a fork for Svelte's store, adding a pipe
method.
Stores can be piped through a number of operators. Synchronous operators include:
map
, filter
, scan
, pluck
, concat
, tap
, take
, skip
, bufferCount
, and readonly
.
Async operators include debounce
, throttle
, bufferTime
and wait
.
Installation
Install with npm:
npm install 'svelte-pipeable-store';
Usage
I've also made a REPL with an example counter
Similarish syntax to RxJS. Read the API docs