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.

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.6/ 5
19
Top Feedback
N/A
GitHub Stars
20K
Weekly Downloads
1M
Last Commit
4mos ago
sto

store

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
5
Top Feedback
N/A
GitHub Stars
14K
Weekly Downloads
165K
Last Commit
4yrs ago
mp

mobx-persist

persist mobx stores

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
555
Weekly Downloads
11K
Last Commit
3yrs ago

expo-secure-store

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
16K
Weekly Downloads
56K
Last Commit
1mo ago
sto

store2

A better way to use localStorage and sessionStorage

License Icon
License: (MIT OR GPL-3.0)
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
3M
Last Commit
1mo ago
jlm

jest-localstorage-mock

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

License Icon
License: BSD-3-Clause
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
282
Weekly Downloads
366K
Last Commit
4mos ago
lsc

lscache

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

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
17K
Last Commit
4mos ago
loc

lockr

![Lockr logo](http://i.imgur.com/m5kPjkB.png)

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
19K
Last Commit
N/A
ml

mock-localstorage

[experimental] Mock Object library for localstorage.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
6
Weekly Downloads
742
Last Commit
2yrs ago
loc

localstoragedb

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
725
Weekly Downloads
434
Last Commit
1yr ago

feathers-localstorage

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
37
Weekly Downloads
191
Last Commit
1yr ago