localforage-esm
TypeScript icon, indicating that this package has built-in type declarations

1.10.2 • Public • Published

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));

Package Sidebar

Install

npm i localforage-esm

Weekly Downloads

42

Version

1.10.2

License

(MIT or CC0 1.0)

Unpacked Size

11.9 kB

Total Files

7

Last publish

Collaborators

  • electrovir