unstorage icon indicating copy to clipboard operation
unstorage copied to clipboard

feat: add `deno-kv` driver

Open mavdotj opened this issue 1 year ago โ€ข 2 comments

๐Ÿ”— 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.

mavdotj avatar Jan 28 '24 16:01 mavdotj

Live Preview ready!

Name Edit Preview Latest Commit
unstorage Edit on Studio โ†—๏ธŽ View Live Preview fe7519ffd742a47be0ae3bcd783c5ae4e2b1cf67

nuxt-studio[bot] avatar Jan 28 '24 16:01 nuxt-studio[bot]

image ๐Ÿ˜Ž

mavdotj avatar Jan 28 '24 17:01 mavdotj