# ixstore

> Simple state management

Latest version **1.0.5** (published 2023-09-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install ixstore
pnpm add ixstore
yarn add ixstore
bun add ixstore
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2023-09-16 |
| First published | 2023-07-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | flamrdevs |
| Maintainers | flamrdevs |

## Links

- npm: https://www.npmjs.com/package/ixstore
- Repository: https://github.com/flamrdevs/ixstore
- Homepage: https://github.com/flamrdevs/ixstore#readme
- Issues: https://github.com/flamrdevs/ixstore/issues
- npm.io page: https://npm.io/package/ixstore

## Dependencies (1)

- [ixclone](https://npm.io/package/ixclone.md) 1.0.5

## Recent versions

- 1.0.5 (latest) — 2023-09-16
- 1.0.0-1 (next) — 2023-07-19
- 1.0.4 — 2023-08-08
- 1.0.3 — 2023-07-31
- 1.0.2 — 2023-07-27
- 1.0.1 — 2023-07-24
- 1.0.0 — 2023-07-20
- 1.0.0-0 — 2023-07-19

## README

<p align="center">
  <a title="license" href="https://github.com/flamrdevs/ixstore/blob/main/LICENSE">
    <picture>
      <source media="(prefers-color-scheme: dark)" srcset="https://none.deno.dev/npm/l/ixstore?t=dark">
      <img alt="license" src="https://none.deno.dev/npm/l/ixstore?t=light" hspace="1">
    </picture>
  </a>
  <a title="version" href="https://www.npmjs.com/package/ixstore">
    <picture>
      <source media="(prefers-color-scheme: dark)" srcset="https://none.deno.dev/npm/v/ixstore?t=dark">
      <img alt="version" src="https://none.deno.dev/npm/v/ixstore?t=light" hspace="1">
    </picture>
  </a>
  <a title="size" href="https://bundlejs.com/?q=ixstore">
    <picture>
      <source media="(prefers-color-scheme: dark)" srcset="https://none.deno.dev/bundlejs/mz/ixstore?t=dark">
      <img alt="size" src="https://none.deno.dev/bundlejs/mz/ixstore?t=light" hspace="1">
    </picture>
  </a>
</p>

<h1 id="ixstore">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://none.deno.dev/ui/icon/lucide?t=dark&i=rocket">
    <img alt="lucide rocket" src="https://none.deno.dev/ui/icon/lucide?t=light&i=rocket" hspace="1">
  </picture>
  <span>
    ixstore
  </span>
</h1>

simple state management

<h2 id="usage">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://none.deno.dev/ui/icon/lucide?t=dark&i=code">
    <img alt="lucide code" src="https://none.deno.dev/ui/icon/lucide?t=light&i=code" hspace="1">
  </picture>
  <span>
    usage
  </span>
</h2>

```ts
import ixstore from "ixstore";

const store = ixstore({
  hello: "world",
});

const unsub = store.sub((value) => {
  console.log(value);
});

store.get().hello; // world

store.set({ hello: "ixstore" });

// { hello: "ixstore" }

store.get().hello; // ixstore

unsub();
```

<h2 id="license">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://none.deno.dev/ui/icon/lucide?t=dark&i=scale">
    <img alt="lucide scale" src="https://none.deno.dev/ui/icon/lucide?t=light&i=scale" hspace="1">
  </picture>
  <span>
    license
  </span>
</h2>

MIT

---
_Source: https://npm.io/package/ixstore · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
