nim-lang / needed-libraries

This repository contains a list a needed libraries.
112 stars 5 forks source link

Proivde IndexedDB API #118

Open sdmcallister opened 3 years ago

sdmcallister commented 3 years ago

Summary Wrap IndexedDB api in the dom library (or as separate library).

Description Alternative to localstorage api and a standard api for clientside storage. Used often for offline first web applications (pwas).

Alternatives Other options like local storage/cookies have storage size limitations. Web sql is being deprecated as far as I'm aware.

Additional Information https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API

juancarlospaco commented 2 years ago

https://github.com/juancarlospaco/nodejs/blob/main/src/nodejs/jsindexeddb.nim