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.
- package/README.md +7 -6
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
# gjendje
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+

|
|
6
8
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
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.
|
|
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
|
}
|