Skip to content

Commit b5a5e64

Browse files
committed
feat!: add IndexedDB and test file
1 parent 3890e60 commit b5a5e64

File tree

7 files changed

+156
-133
lines changed

7 files changed

+156
-133
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const db = new FilesDB()
2121

2222
| name | description |
2323
| -------------------------------- | -------------------------------------- |
24-
| [`FilesDB`](./src/files-db.ts) | The CRUD class for indexDB in browser. |
24+
| [`IndexedDB`](./src/indexed-db.ts) | The CRUD class for indexedDB in browser. |
2525

2626
## License
2727

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"@antfu/eslint-config": "^3.8.0",
5353
"bumpp": "^9.8.1",
5454
"eslint": "^9.14.0",
55+
"fake-indexeddb": "^6.0.0",
5556
"jsdom": "^24.1.3",
5657
"lint-staged": "^15.2.10",
5758
"rimraf": "^5.0.10",

pnpm-lock.yaml

Lines changed: 12 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/files-db.ts

Lines changed: 0 additions & 95 deletions
This file was deleted.

0 commit comments

Comments
 (0)