Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/flamrdevs/ixstoragest

simple state management with storage
https://github.com/flamrdevs/ixstoragest

npm storage store

Last synced: 3 months ago
JSON representation

simple state management with storage

Awesome Lists containing this project

README

        





license





version





size





lucide rocket


ixstoragest

simple state management with storage




lucide code


usage

```ts
import ixstoragest from "ixstoragest";

const store = ixstoragest("hello", {
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();
```




lucide scale


license

MIT