counterStore

Reactive counter

Demo

Counter: 0

Usage

<script lang="ts">
import { counterStore } from "svelte-legos";

const { counter, inc, dec, set, reset } = counterStore();
</script>