ts-odd
ts-odd copied to clipboard
Implement a key -> value storage abstraction over JSON
We should explore using something like lowdb ( or similar ) in examples or possible as an integrated utility.
@bgins what do you think?
Great idea! I think we could start by prototyping it with existing the existing WNFS API. Then if it works out, we could think about integrating it.
One quick experiment we could try out is implementing a lowdb adapter: https://github.com/typicode/lowdb#writing-your-own-adapter. An AsyncAdapter wrapping a few WNFS methods (plus the usual webnative initialization) might be enough.