InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises. Learn more →
Top 23 JavaScript Storage Projects
-
localForage
💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.
Depending on what kind of storage requirements you have, LocalForage might be a good fit. It provides a unified API to access WebSQL, indexedDB or localStorage.
-
Project mention: Cookiebot: Problem with deleting cookies after user has changed consent | reddit.com/r/learnjavascript | 2022-11-29
js-cookie might help?
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
-
Lowdb
Simple to use local JSON database. Use native JavaScript API to query. Written in TypeScript. (supports Node, Electron and the browser)
Project mention: go-store: Lightweight embedded database in pure Go inspired by Lowdb | reddit.com/r/golang | 2022-12-14I just finished the first stable version of go-store, a lightweight embeeded database written in pure Go. It was heavily inspired by lowdb. The motivation was that I needed something simple to store information for another project and that I wanted to try out Go's generics.
-
Project mention: Recommend an embedded database for use in Electron app | reddit.com/r/electronjs | 2022-12-28
I have used pouchdb as an embedded db for electron - API and performance were not the best, but that was the price to pay for the requirements.
-
Project mention: Why dont we simply persist state in local storage, instead of using global state management | reddit.com/r/reactjs | 2022-02-19
it's not made up, feel free to look it up. In older versions if the site was in a private window, writing something to localStorage would throw an exception. Was a pain in the ass and caused a lot of bugs. https://developer.apple.com/forums/thread/71593 https://news.ycombinator.com/item?id=17231508 https://github.com/marcuswestin/store.js/issues/42
-
Sounds like node is trying to fsync to an unsupported file system. Top hit on goolge does not look promising: https://github.com/louischatriot/nedb/issues/407
-
Project mention: How to build interactive way to learn SQL using Next.js and database? | reddit.com/r/reactjs | 2023-01-04
Maybe you can try to use some SQL database compiled as Web Assembly Modules? Like this one for example: https://github.com/sql-js/sql.js
-
Sonar
Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
react-native-firebase
🔥 A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services.
Project mention: Im in a HUGE pinch for a group project thats due in a week, please help (advice desperately needed). | reddit.com/r/reactnative | 2023-01-15If you have to fetch and persist out of the app, then use firebase firestore with https://rnfirebase.io/.
-
Watermelon DB.
-
Dexie works swell with SvelteKit. https://dexie.org
-
lovefield
Lovefield is a relational database for web apps. Written in JavaScript, works cross-browser. Provides SQL-like APIs that are fast, safe, and easy to use.
-
Project mention: I've created a lightning fast in-memory database for the frontend - fully type-safe, of course | reddit.com/r/typescript | 2022-09-14
(This compares a simple JS Map() to LokiJS to BlinkDB. You can find more benchmarks in the repository.)
-
-
-
electron-store
Simple data persistence for your Electron app or module - Save and load user preferences, app state, cache, etc
Project mention: What is the proper way to permanently store data in Electron in 2023? | reddit.com/r/electronjs | 2023-01-16I've seen electron-store, but it seems to be a volatile store. Each time I open the app, it seems I must create a new Store(). The doc explains clearly how to perform crud operation in a new store, but not how to retrieve existing data when re-opening the app 10 days later. If the lib can actually do it, how to do so?
-
-
cookies.js
🍫 Tastier cookies, local, session, and db storage in a tiny package. Includes subscribe() events for changes.
-
remoteStorage.js : a JavaScript library for storing user data locally in the browser, as well as connecting to remoteStorage servers and syncing data across devices and applications.
-
-
-
Project mention: Show HN: Glue4 is a Redux extension that handles your back end concerns | news.ycombinator.com | 2022-12-19
Thank you for the details.
The databases integrations looks similar to keyv https://www.npmjs.com/package/keyV
-
-
Luckily, there is this nice library that makes life easier: https://github.com/nbubna/store
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
JavaScript Storage related posts
- SvelteKit: Use local database in the browser
- AppSmith, Budibase alternative that doesn't use docker
- What is the proper way to permanently store data in Electron in 2023?
- Introduction to developers about how to distribute NFT royalties in Solana
- How to upload a random generated image to IPFS and get the URI for minting?
- Solidity Reveal Mechanism PROBLEM
- Solidity Reveal Mechanism doesn't work correctly
-
A note from our sponsor - InfluxDB
www.influxdata.com | 4 Feb 2023
Index
What are some of the best open-source Storage projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | localForage | 21,703 |
2 | js-cookie | 20,327 |
3 | Lowdb | 18,997 |
4 | PouchDB | 15,487 |
5 | store.js | 13,875 |
6 | NeDB | 13,242 |
7 | sql.js | 11,094 |
8 | react-native-firebase | 10,595 |
9 | WatermelonDB | 8,902 |
10 | Dexie.js | 8,836 |
11 | lovefield | 6,832 |
12 | LokiJS | 6,389 |
13 | offline-plugin | 4,487 |
14 | hoodie | 4,351 |
15 | electron-store | 3,901 |
16 | basket.js | 3,372 |
17 | cookies.js | 2,384 |
18 | remotestorage.js | 2,217 |
19 | cross-storage | 2,153 |
20 | lawnchair.js | 2,136 |
21 | Keyv | 2,008 |
22 | basil.js | 1,976 |
23 | store | 1,798 |