Svuick

Packages Guides

@svuick/store

npm (scoped)

Installation

npm i @svuick/store

What is this?

This package provides store wrappers and implementations.

  • debounce
  • throttle
  • readonly
  • persistent
  • undoRedo
  • undoRedoAction
  • mousePosition

Examples

Debounce

Store:
Debounced:

Throttle

Store:
Throttled:

undoRedoAction

Value: 1

mousePosition

{
  "x": 0,
  "y": 0
}
Released under the MIT License.
Copyright © 2022-present David Plugge