10 Best Vanilla JavaScript localStorage Libraries

List hand-picked by Openbase Experts
Learn More

localforage

💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.

2.5M
21.4K
Built-in
Apache-2.0
sto

Cross-browser storage for all use cases, used across the web.

205K
13.9K
DefinitelyTyped
MIT
mp

persist mobx stores

13.4K
557
Built-in
MIT
us

User-Interface (Browser) storage manager

3
1
No support
ISC
sto

A better way to use localStorage and sessionStorage

4.8M
1.7K
No support
(MIT OR GPL-3.0)
jlm

A module to mock window.localStorage and window.sessionStorage in Jest

458K
300
No support
BSD-3-Clause
expo-secure-store

An open-source platform for making universal native apps with React. Expo runs on Android, iOS, and the web.

96.2K
19.7K
Built-in
MIT
lsc

A localStorage-based memcache-inspired client-side caching library.

26.2K
1.4K
DefinitelyTyped
Apache-2.0
ml

[experimental] Mock Object library for localstorage.

1.6K
6
No support
MIT
feathers-localstorage

A client side service based on feathers-memory that persists to LocalStorage

323
38
Built-in
MIT
loc

A simple database layer for localStorage and sessionStorage for creating structured data in the form of databases and tables

255
736
No support
MIT
Description
Author
License
Type Definitions
ESM Support
Tree Shakeable
Popularity
Downloads/wk
GitHub Stars
Reviews
User Rating
Voted Good Docs
Voted Easy of Use
Voted Performant
Top Positive Review
Top Negative Review
Issues
Total Issues
Open Issues
Avg Time to Close
Pull Requests
Total Pull Requests
Open Pull Requests
Avg Time to Merge
Community
Maintainers
Contributors
Contributors with 3+ commits
Top Committers
GitHub Forks
Versions
# of Versions
Latest
Next
Beta
Newest
Oldest
Major Every
Minor Every
Patch Every
Dependencies
Dependencies
Dev Dependencies
Links
More Info
README
Tutorials
Install Command
There's Nothing Here
No packages are selected.
Select a few packages to compare.