there was no single working example of using #indexdb to #store and #retrieve single value

here is minimal example

https://ipfs.io/ipfs/QmUedXS7U8ZjFP8tQcprBQuXft3Td5XcWEjj63NsBqr3be#9591efd97cb2b09b86d0902d07432b3bcf25d649d5e77c4143056438693c413b

indexdb should be able to #store very large amounts of permanent #data with #browser #javascript

Reply to this note

Please Login to reply.

Discussion

for some unknown reason indexdb is overly complex for simply storing value and retrieving value

i implemented two functions for very straight forward usage, which should have been provided by native api, but no way. well here is the usage:

await save_data(data)

await get_data()

just one more thing

indexdb is broken for file:// protocol, like many things

so when you get headache of nothing working, just setup that localhost server