js-cookie VS localForage

Compare js-cookie vs localForage and see what are their differences.

js-cookie

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

localForage

💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API. (by localForage)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
js-cookie localForage
21 27
21,580 24,255
0.5% 1.0%
7.4 0.0
17 days ago 4 months 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.

js-cookie

Posts with mentions or reviews of js-cookie. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-27.

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 2023-06-23.

What are some alternatives?

When comparing js-cookie and localForage you can also consider the following projects:

vue-cookies - A simple Vue.js plugin for handling browser cookies

Dexie.js - A Minimalistic Wrapper for IndexedDB

jquery-cookie

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

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

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

klaro-js - Klaro Privacy Manager. An open-source, privacy-friendly & compliant consent manager for your website.

svelte-persisted-store - A Svelte store that persists to localStorage

lockr - A minimal API wrapper for localStorage

Cookies - JavaScript Client-Side Cookie Manipulation Library

LokiJS - javascript embeddable / in-memory database