Skip to main content

Convenient stores

Works with
This package works with Bun
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Browsers
JSR Score
100%
Published
a week ago (0.1.0)

konbini

Convenient stores

コンビニ

Examples

Example 1

import { konbini, computed, from } from "@in5net/konbini";

const count = konbini(0);
const doubled = computed(() => count() * 2);
const tripled = from(store => {
  store.subscribe(value => store(value * 3));
}, 0);
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @in5net/konbini

Import symbol

import * as mod from "@in5net/konbini";

Add Package

npx jsr add @in5net/konbini

Import symbol

import * as mod from "@in5net/konbini";

Add Package

yarn dlx jsr add @in5net/konbini

Import symbol

import * as mod from "@in5net/konbini";

Add Package

pnpm dlx jsr add @in5net/konbini

Import symbol

import * as mod from "@in5net/konbini";

Add Package

bunx jsr add @in5net/konbini

Import symbol

import * as mod from "@in5net/konbini";