svelte-pipeable-store

Fork of Svelte v3 store with pipe method

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
svelte-pipeable-store
1.0.34 years ago4 years agoMinified + gzip package size for svelte-pipeable-store in KB

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