JavaScript Storage

Open-source JavaScript projects categorized as Storage

Top 23 JavaScript Storage Projects

  • localForage

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

    Project mention: SvelteKit: Use local database in the browser | reddit.com/r/sveltejs | 2023-01-26

    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.

  • 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-14

    I 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.

  • PouchDB

    :koala: - PouchDB is a pocket-sized database.

    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.

  • store.js

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

    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

  • NeDB

    The JavaScript Database, for Node.js, nw.js, electron and the browser

    Project mention: Error: Failed to flush to storage | reddit.com/r/FoundryVTT | 2022-11-01

    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

  • sql.js

    A javascript library to run SQLite on the web.

    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-15

    If you have to fetch and persist out of the app, then use firebase firestore with https://rnfirebase.io/.

  • WatermelonDB

    🍉 Reactive & asynchronous database for powerful React and React Native apps ⚡️

    Project mention: Starting React Native Project in 2023 | dev.to | 2023-01-06

    Watermelon DB.

  • Dexie.js

    A Minimalistic Wrapper for IndexedDB

    Project mention: SvelteKit: Use local database in the browser | reddit.com/r/sveltejs | 2023-01-26

    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.

  • LokiJS

    javascript embeddable / in-memory database

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

  • offline-plugin

    Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)

  • hoodie

    :dog: The Offline First JavaScript Backend (by hoodiehq)

  • 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-16

    I'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?

  • basket.js

    A script and resource loader for caching & loading files with localStorage

  • cookies.js

    🍫 Tastier cookies, local, session, and db storage in a tiny package. Includes subscribe() events for changes.

  • remotestorage.js

    ⬡ JavaScript client library for integrating remoteStorage in apps

    Project mention: Cool & useful JavaScript libraries | dev.to | 2022-07-11

    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.

  • cross-storage

    Cross domain local storage, with permissions

  • lawnchair.js

    A lightweight clientside JSON document store, (by brianleroux)

  • Keyv

    Simple key-value storage with support for multiple backends

    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

  • basil.js

    The missing Javascript smart persistent layer

  • store

    A better way to use localStorage and sessionStorage (by nbubna)

    Project mention: nextjs e-commerce and portfolio apphs | reddit.com/r/webdev | 2022-07-25

    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.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-01-26.

JavaScript Storage related posts

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
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.
www.influxdata.com