gjendje 0.3.0 → 0.3.2

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 +2 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -2,13 +2,7 @@
2
2
 
3
3
  # gjendje
4
4
 
5
- **gjendje** brings state management to multiple storage backends through one consistent API.
6
-
7
- ## Install
8
-
9
- ```sh
10
- pnpm add gjendje
11
- ```
5
+ **gjendje** unifies state management across any storage backend.
12
6
 
13
7
  ## Examples
14
8
 
@@ -19,14 +13,12 @@ import { state } from 'gjendje'
19
13
  const theme = state('theme', {
20
14
  default: 'light',
21
15
  scope: 'local',
22
- ssr: true // optional AsyncLocalStorage
23
16
  })
24
17
 
25
18
  theme.get()
26
- theme.set('dark')
27
19
  ```
28
20
 
29
- #### Storage Buckets
21
+ #### Storage Buckets API
30
22
  ```ts
31
23
  import { state } from 'gjendje'
32
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gjendje",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "TypeScript State management library that provides reactive, persistent storage buckets with a simple API.",
5
5
  "keywords": [
6
6
  "state",