memorio 4.2.1 → 4.2.3
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 +18 -2
- package/index.cjs +1 -1
- package/index.js +1 -1
- package/package.json +5 -16
- package/types/memorio.d.ts +2 -0
package/README.md
CHANGED
|
@@ -78,9 +78,12 @@ npm i react react-dom
|
|
|
78
78
|
## **Setup**
|
|
79
79
|
|
|
80
80
|
```typescript
|
|
81
|
-
//
|
|
81
|
+
// IMPORT ONCE AT YOUR APP ENTRY POINT
|
|
82
|
+
|
|
82
83
|
import 'memorio'
|
|
84
|
+
```
|
|
83
85
|
|
|
86
|
+
```typescript
|
|
84
87
|
// Memory
|
|
85
88
|
state.user = { name: 'Sara', role: 'admin' }
|
|
86
89
|
state.counter++
|
|
@@ -232,11 +235,24 @@ memorio.isolate('tenant-name')
|
|
|
232
235
|
|
|
233
236
|
---
|
|
234
237
|
|
|
238
|
+
## Browser Extension (Chrome/Edge)
|
|
239
|
+
|
|
240
|
+

|
|
241
|
+
|
|
242
|
+
Manage your `Memorio` on `dphelper Manager Browser Extension*` environment, monitor memory usage, and access documentation directly from your browser.
|
|
243
|
+
|
|
244
|
+
*Need to install dphelper npm
|
|
245
|
+
|
|
246
|
+
- [Download for Chrome](https://chrome.google.com/webstore/detail/dphelper-manager-dev-tool/oppppldaoknfddeikfloonnialijngbk)
|
|
247
|
+
- [Download for Edge](https://microsoftedge.microsoft.com/addons/detail/dphelper-manager-dev-to/kphabkbdpaljlfagldhojilhfammepnk)
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
235
251
|
## Cross-Platform
|
|
236
252
|
|
|
237
253
|
Memorio runs in every JavaScript environment, with automatic fallbacks.
|
|
238
254
|
|
|
239
|
-
| | Browser | Node.js | Deno | Edge / Workers |
|
|
255
|
+
| Tool | Browser | Node.js | Deno | Edge / Workers |
|
|
240
256
|
|---|---|---|---|---|
|
|
241
257
|
| `state` | ✅ | ✅ | ✅ | ✅ |
|
|
242
258
|
| `observer` / `useObserver` | ✅ | ✅ | ✅ | ✅ |
|
package/index.cjs
CHANGED
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memorio",
|
|
3
3
|
"codeName": "memorio",
|
|
4
|
-
"version": "4.2.
|
|
4
|
+
"version": "4.2.3",
|
|
5
5
|
"description": "Memorio, State + Observer, Store and iDB for an easy life - Cross-platform compatible",
|
|
6
6
|
"main": "./index.cjs",
|
|
7
7
|
"browser": "./index.cjs",
|
|
@@ -44,9 +44,6 @@
|
|
|
44
44
|
"url": "https://www.patreon.com/passariello"
|
|
45
45
|
}
|
|
46
46
|
],
|
|
47
|
-
"workspaces": [
|
|
48
|
-
"tests"
|
|
49
|
-
],
|
|
50
47
|
"engines": {
|
|
51
48
|
"node": ">=18.0.0"
|
|
52
49
|
},
|
|
@@ -67,18 +64,10 @@
|
|
|
67
64
|
}
|
|
68
65
|
},
|
|
69
66
|
"overrides": {
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
"
|
|
74
|
-
"has-symbols": "npm:@socketregistry/has-symbols@^1",
|
|
75
|
-
"has-tostringtag": "npm:@socketregistry/has-tostringtag@^1",
|
|
76
|
-
"hasown": "npm:@socketregistry/hasown@^1",
|
|
77
|
-
"indent-string": "npm:@socketregistry/indent-string@^1",
|
|
78
|
-
"object-assign": "npm:@socketregistry/object-assign@^1",
|
|
79
|
-
"safe-buffer": "npm:@socketregistry/safe-buffer@^1",
|
|
80
|
-
"safer-buffer": "npm:@socketregistry/safer-buffer@^1",
|
|
81
|
-
"side-channel": "npm:@socketregistry/side-channel@^1"
|
|
67
|
+
"object-assign": "npm:@socketregistry/object-assign@^1"
|
|
68
|
+
},
|
|
69
|
+
"resolutions": {
|
|
70
|
+
"object-assign": "npm:@socketregistry/object-assign@^1"
|
|
82
71
|
},
|
|
83
72
|
"exports": {
|
|
84
73
|
".": {
|