1.10.2 • Published 10 months ago
localforage-esm v1.10.2
localforage-esm
Simple ESM wrapper for localforage
. All this does is re-export the internals of localForage such that they are ESM compatible and still type safe.
See localforage
for all docs.
Usage
Same usage as localforage
, just make sure to import the default localforage export:
import localforage from 'localforage-esm';
localforage.getItem('my-item').then((value) => console.log(value));