gjendje 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +7 -6
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -2,12 +2,13 @@
2
2
 
3
3
  # gjendje
4
4
 
5
- Replaces storage backends with a unified API. Choose where state lives. The rest is handled.
5
+ ![NPM Last Update](https://img.shields.io/npm/last-update/gjendje)
6
+ ![NPM Version](https://img.shields.io/npm/v/gjendje)
7
+ ![GitHub License](https://img.shields.io/github/license/charliebeckstrand/gjendje)
6
8
 
7
- - Zero runtime dependencies
8
- - ~5 kB core (minified + brotli)
9
- - TypeScript-first with full type inference
10
- - 6 storage backends, one API
9
+ gjendje is a storage-agnostic state management library for TypeScript and JavaScript. It gives you a single, unified API for reactive state — regardless of where that state lives.
10
+
11
+ [Learn more](https://github.com/charliebeckstrand/gjendje/blob/main/docs/summary.md)
11
12
 
12
13
  ## Install
13
14
 
@@ -26,7 +27,7 @@ function increment() {
26
27
  store.set((prev) => ({ ...prev, count: prev.count + 1 }))
27
28
  }
28
29
 
29
- const { counter} = store.get()
30
+ const { counter } = store.get()
30
31
  ```
31
32
 
32
33
  [Examples](https://github.com/charliebeckstrand/gjendje/blob/main/docs/examples.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gjendje",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Storage-agnostic state management for TypeScript",
5
5
  "keywords": [
6
6
  "state",
@@ -92,6 +92,8 @@
92
92
  "typecheck": "tsc --project tsconfig.test.json --skipLibCheck",
93
93
  "bench": "tsx benchmarks/state-management.bench.ts",
94
94
  "bench:internal": "tsx benchmarks/internal.bench.ts",
95
- "bench:extended": "tsx benchmarks/internals-extended.bench.ts"
95
+ "bench:extended": "tsx benchmarks/internals-extended.bench.ts",
96
+ "bench:save": "tsx benchmarks/internal.bench.ts --save",
97
+ "bench:compare": "tsx benchmarks/internal.bench.ts --compare"
96
98
  }
97
99
  }