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,564 24,213
0.4% 0.8%
7.7 0.0
9 days ago 3 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:

Dexie.js - A Minimalistic Wrapper for IndexedDB

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

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

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

Cookies - JavaScript Client-Side Cookie Manipulation Library

LokiJS - javascript embeddable / in-memory database

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

jquery-cookie

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

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

cross-storage - Cross domain local storage, with permissions

sql.js - A javascript library to run SQLite on the web.