JavaScript Storage

Open-source JavaScript projects categorized as Storage | Edit details

Top 23 JavaScript Storage Projects

  • GitHub repo localForage

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

    Project mention: How to Use IndexedDB to Manage State in JavaScript | reddit.com/r/javascript | 2021-07-08
  • GitHub repo store.js

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

    Project mention: Are mixins shared/single instance, or one instance for each component that uses the mixin? | reddit.com/r/vuejs | 2021-07-04

    store is basically a localStorage wrapper. If you want your data to persist even if on page reload, you might consider using it.

  • GitHub repo redux-persist

    persist and rehydrate a redux store

    Project mention: How to cache data? | reddit.com/r/reactnative | 2021-06-23

    It seems like redux-persist is no longer maintained.. https://github.com/rt2zz/redux-persist/issues/1275

  • GitHub repo 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: React Native and Firebase Dynamic Links | dev.to | 2021-07-06

    After we are done with preparing firebase to handle our links, we can proceed to the next step. Which is adding @react-native-firebase/dynamic-links to our app. I will assume that you already have Firebase configured in your app. If not, please refer to this guide.

  • GitHub repo sql.js

    A javascript library to run SQLite on the web.

    Project mention: Joining CSV and JSON data with an in-memory SQLite database | news.ycombinator.com | 2021-06-20

    I recently started looking into the most mature SQL database for the browser. My goal was similar, to be able take data as json or HTTP responses or csv or whatever and be able to pass then through a SQL engine with the user providing custom code/data the whole way.

    Turns out the most mature JavaScript database is SQLite ported to webassembly: https://github.com/sql-js/sql.js.

    Based on that research, I wrote a bit about running SQL and other languages entirely in the browser here: https://datastation.multiprocess.io/blog/2021-06-16-language...

  • GitHub repo WatermelonDB

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

    Project mention: React native apps with SQLITE | reddit.com/r/reactnative | 2021-03-27
  • GitHub repo Dexie.js

    A Minimalistic Wrapper for IndexedDB

    Project mention: Pelmodoro - a Pomodoro app built with Elm | dev.to | 2021-07-25

    To persist the app's state I used both localStorage (for settings and the timer state) and IndexedDB (to persist usage stats). Instead of using the IndexedDB API directly, I used Dexie which abstracts most of the IndexedDB complexities.

  • GitHub repo LokiJS

    javascript embeddable / in-memory database

  • GitHub repo vuex-persistedstate

    💾 Persist and rehydrate your Vuex state between page reloads.

    Project mention: vuex-persistedstate is all you need for your Vue and Nuxt project | reddit.com/r/Nuxt | 2021-05-30

    https://github.com/robinvdvleuten/vuex-persistedstate#readme

  • GitHub repo offline-plugin

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

    Project mention: Meteor with Webpack in 2018 — Faster compilation and better source handling | dev.to | 2021-07-29

    For example, you have a Progressive Web Application using Service Workers, written in Angular, then you have to create a service worker manifest based on your output files. We don’t have a solution for this on Meteor CLI natively. However, Webpack has a lot of community plugins such as OfflinePlugin , Workbox and many others for this problem as a solution. Just install them, and add to your webpack.config.js . Meteor-Webpack will handle it like you’re working on a pure Webpack project.

  • GitHub repo basket.js

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

  • GitHub repo electron-store

    Simple data persistence for your Electron app or module - Save and load user preferences, app state, cache, etc

    Project mention: [Electron][TypeScript] output/input files | dev.to | 2021-05-15

    GitHub - sindresorhus/electron-store: Simple data persistence for your Electron app or module - Save and load user preferences, app state, cache, etc

  • GitHub repo cookies.js

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

    Project mention: DDD Is Overrated | news.ycombinator.com | 2021-03-01

    Sure you might not be able to write 100% of the documentation in one go and then the code, but AFAIK that's neither the goal or the intention of DDD, it's more like "document a bit, write a bit, repeat".

    The way I do it is first write a draft of the documentation, of how I want the API to look like. Then check if that basic code is possible (which I can predict most of the times based on experience), then write some more docs or methods. When writing a lib I normally already know where I want to use it, so I can put example snippets from how I want to use it as the documentation first and then try to implement those methods.

    Examples of libraries I've written mostly this way:

    - https://github.com/franciscop/brownies

    - https://github.com/franciscop/files

    - https://github.com/franciscop/backblaze

  • GitHub repo lawnchair.js

    A lightweight clientside JSON document store, (by brianleroux)

  • GitHub repo cross-storage

    Cross domain local storage, with permissions

  • GitHub repo basil.js

    The missing Javascript smart persistent layer

  • GitHub repo Cookies

    JavaScript Client-Side Cookie Manipulation Library

  • GitHub repo store

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

    Project mention: targeting dynamically generated HTML elements | reddit.com/r/perchance | 2021-03-01

    There are libraries that make it much easier to store arrays, numbers, etc. (not just strings) like this one that you might want to take a look at: https://github.com/nbubna/store You'd just need to copy this file into your HTML editor panel (wrapped in

  • GitHub repo jStorage

    jStorage is a simple key/value database to store data on browser side

  • GitHub repo S3 Server

    Zenko CloudServer, an open-source Node.js implementation of the Amazon S3 protocol on the front-end and backend storage capabilities to multiple clouds, including Azure and Google.

    Project mention: How are you backing up Hudu? | reddit.com/r/hudu | 2021-02-26

    I'm just trying to avoid the cross-provider complexity where possible.... considered loading up Azure App Services with CloudServer (https://www.zenko.io/cloudserver/) as its just Node.js, but i think i'm getting too cute for something that I can drop into DigitalOcean or AWS quickly.

  • GitHub repo ipfs-deploy

    Zero-Config CLI to Deploy Static Websites to IPFS

    Project mention: How do you use IPFS on your daily lives or on your apps? | reddit.com/r/ipfs | 2021-07-27

    I've got a basic personal site with blog posts and random stuff that I also make available through IPFS. The site is made with Gatsby, a static site generator that generates a folder full of html files and resources. I host those on a normal webserver, but I also publish the files onto IPFS (using ipfs-deploy and https://pinata.cloud/ as the pinning service) and then have a DNSLink DNS record on the domain (that gets updated by ipfs-deploy) so that people with IPFS-compatible browsers can access the site through IPFS. It's also nice that it means a mirror of my site is also accessible through https://MY-DOMAIN-COM.ipns.dweb.link. I like knowing that if anything happens to my regular webserver, then as long as the domain is still up then there good ways to access my site and for anyone to help preserve my site.

  • GitHub repo lockr

    A minimal API wrapper for localStorage

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 2021-07-30.

Index

What are some of the best open-source Storage projects in JavaScript? This list will help you:

Project Stars
1 localForage 19,281
2 js-cookie 17,841
3 store.js 13,515
4 redux-persist 11,441
5 react-native-firebase 9,272
6 sql.js 8,969
7 WatermelonDB 7,644
8 Dexie.js 6,823
9 LokiJS 5,811
10 vuex-persistedstate 5,323
11 offline-plugin 4,422
12 basket.js 3,367
13 electron-store 3,048
14 cookies.js 2,383
15 lawnchair.js 2,141
16 cross-storage 2,035
17 basil.js 1,960
18 Cookies 1,780
19 store 1,611
20 jStorage 1,534
21 S3 Server 1,224
22 ipfs-deploy 808
23 lockr 787
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com