store VS localForage

Compare store vs localForage and see what are their differences.

store

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

localForage

๐Ÿ’พ Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API. (by localForage)
Our great sponsors
  • Syncfusion - See why our products are consistently getting 4.6 out of 5 stars by your peers.
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
store localForage
1 7
1,627 19,622
- 1.1%
0.0 1.2
2 months ago 4 days ago
JavaScript JavaScript
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

store

Posts with mentions or reviews of store. We have used some of these posts to build our list of alternatives and similar projects.
  • 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

localForage

Posts with mentions or reviews of localForage. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-08.
  • How to Use IndexedDB to Manage State in JavaScript
  • Persisting Files in Javascript (React) Applications
    dev.to | 2021-03-24
    IndexedDB API is low-level and may seem a bit daunting to use to some. For this reason, libraries such as localForage, dexie.js, ZangoDB, PouchDB, idb, idb-keyval, JsStore and lovefield provide a simpler API that makes IndexedDB more programmer-friendly.
  • how to use localStorage in svelte
    reddit.com/r/sveltejs | 2021-03-08
    Check out https://github.com/localForage/localForage, normalised, cross browsers support with fallback mechanism for localStorage, indexedDB and WebSQL, make you life easier for persistent local cache
  • Very Small Database
    reddit.com/r/webdev | 2021-03-06
    Theyโ€™re referring to his one https://github.com/localForage/localForage
  • How we built PrivaNote
    dev.to | 2021-01-27
    After scaffolding our application we needed to ensure it's offline first. That means we should be able to use it without an internet connection and without Portabella. For this we leveraged the localForage library. It tries to use IndexedDB and then falls back to LocalStorage if the browser doesn't have it.
  • Using Next.js to create a browser extension (Chrome & Firefox)
    dev.to | 2021-01-26
    My latest venture has been PrivaNote (https://privanote.xyz). It's a simple, offline first and end-to-end encrypted note taking application. Behind the scenes it stores data in IndexedDB (gracefully falls back to LocalStorage if that's unavailable thanks to the LocalForage library) and if you enable the end-to-end encrypted sync it leverages Portabella (https://portabella.io) for storage. A separate post will be coming soon with more details on how I wrote this but it's also open source if you want to take a look at the code.
  • localStorage.getItem()
    Yeah, localstorage sucks for many reasons. A great alternative which is asynchronous and lets you use any kind of value you want is LocalForage.

What are some alternatives?

When comparing store and localForage you can also consider the following projects:

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

Dexie.js - A Minimalistic Wrapper for IndexedDB

Cookies - JavaScript Client-Side Cookie Manipulation Library

LokiJS - javascript embeddable / in-memory database

svelte-local-storage-store - Adds pub/sub to local storage.

cross-storage - Cross domain local storage, with permissions

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

lawnchair.js - A lightweight clientside JSON document store,

WatermelonDB - ๐Ÿ‰ Reactive & asynchronous database for powerful React and React Native apps โšก๏ธ

jquery-cookie

js-cookie - A simple, lightweight JavaScript API for handling browser cookies

DB.js - db.js is a wrapper for IndexedDB to make it easier to work against