Open pfrazee opened 6 years ago
I don't think we use the events the hyper stack so this should* be compatible I think.
Yes, this would be nice so that we could easily upgrade/modify existing codebase running on electron to be beaker-compatible. There a few apps I have in mind on my to-build
list coming up early next year for this..
This has been a common request from people building database tools (eg @substack and @mafintosh).
The API should conform to random-access-storage. I think we can scope the data access to an origin (similar to localStorage) and provide multiple openable namespaces within that. The total data usage would be metered (maybe 100MB free with more space requestable?).
Pulling from random-access-storage we might do this API:
We can't be 100% equivalent to
random-access-storage
because the event systems differ between node and the Web. I also removed the "readable/writable/deletable/statable" boolean flags but I would be fine having those in there (they'd all be true).