Crossplatform db #156
ivanjeremic
started this conversation in
Ideas
Replies: 2 comments
-
It's an interesting idea. I think there are a few main things that would be needed, if approaching it from a "reuse as much existing code as possible" angle.
const storage = createStorage(...)
const kv = kvWrapper(storage)
const db = kvdex(kv, ...)
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Otherwise I'm sure a similar library could be created specifically targeting unstorage's API instead, but that would likely require a complete re-write from the bottom up, or close to it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Wonder how hard it would be to reimplement this with something like unstorage https://unstorage.unjs.io/ unstorage supports kv stores over many platforms and providers including deno kv.
Beta Was this translation helpful? Give feedback.
All reactions