unstorage
unstorage copied to clipboard
feat: add `deno-kv` driver
๐ Linked issue
#224 close #233
โ Type of change
- [ ] ๐ Documentation (updates to the documentation, readme, or JSdoc annotations)
- [ ] ๐ Bug fix (a non-breaking change that fixes an issue)
- [ ] ๐ Enhancement (improving an existing functionality like performance)
- [x] โจ New feature (a non-breaking change that adds functionality)
- [ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
- [ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
Adds deno KV support into unstorage using the @deno/kv npm module, which is supported on deno, node, and bun. Currently watch() is not supported because the deno kv watch requires parameters (a list of at max 10 keys to watch), which unstorage does not have. Rewrote #233
๐ Checklist
- [x] I have linked an issue or discussion.
- [x] I have updated the documentation accordingly.
Live Preview ready!
| Name | Edit | Preview | Latest Commit |
|---|---|---|---|
| unstorage | Edit on Studio โ๏ธ | View Live Preview | fe7519ffd742a47be0ae3bcd783c5ae4e2b1cf67 |