@zenfs/dom 1.1.0 → 1.1.1
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/package.json +3 -5
- package/readme.md +4 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zenfs/dom",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "DOM backends for ZenFS",
|
|
5
5
|
"funding": {
|
|
6
6
|
"type": "individual",
|
|
@@ -47,6 +47,8 @@
|
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@eslint/js": "^9.12.0",
|
|
49
49
|
"eslint": "^9.12.0",
|
|
50
|
+
"fake-indexeddb": "^6.0.0",
|
|
51
|
+
"file-system-access": "^1.0.4",
|
|
50
52
|
"globals": "^15.10.0",
|
|
51
53
|
"prettier": "^3.2.5",
|
|
52
54
|
"tsx": "^4.19.2",
|
|
@@ -57,10 +59,6 @@
|
|
|
57
59
|
"peerDependencies": {
|
|
58
60
|
"@zenfs/core": "^1.6.4"
|
|
59
61
|
},
|
|
60
|
-
"optionalDependencies": {
|
|
61
|
-
"fake-indexeddb": "^6.0.0",
|
|
62
|
-
"file-system-access": "^1.0.4"
|
|
63
|
-
},
|
|
64
62
|
"keywords": [
|
|
65
63
|
"filesystem",
|
|
66
64
|
"node",
|
package/readme.md
CHANGED
|
@@ -6,9 +6,10 @@ Please read the ZenFS core documentation!
|
|
|
6
6
|
|
|
7
7
|
## Backends
|
|
8
8
|
|
|
9
|
-
- `WebStorage
|
|
10
|
-
- `IndexedDB
|
|
11
|
-
- `WebAccess
|
|
9
|
+
- `WebStorage` stores files in a `Storage` object, like `localStorage` and `sessionStorage`.
|
|
10
|
+
- `IndexedDB` stores files into an `IndexedDB` object database.
|
|
11
|
+
- `WebAccess` uses the [File System Access API](https://developer.mozilla.org/Web/API/File_System_API).
|
|
12
|
+
- `XML` uses an `XMLDocument` to store files, which can be appended to the DOM.
|
|
12
13
|
|
|
13
14
|
For more information, see the [API documentation](https://zen-fs.github.io/dom).
|
|
14
15
|
|