lockr VS js-cookie

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


A minimal API wrapper for localStorage (by tsironis)


A simple, lightweight JavaScript API for handling browser cookies (by js-cookie)
Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
lockr js-cookie
0 12
801 19,017
- 1.1%
0.0 7.8
5 months ago 22 days ago
JavaScript JavaScript
MIT License MIT License
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.


Posts with mentions or reviews of lockr. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning lockr yet.
Tracking mentions began in Dec 2020.


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 2021-12-28.

What are some alternatives?

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

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

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

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


klaro - Klaro! A privacy and security tool for your website.

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

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

basil.js - The missing Javascript smart persistent layer

react-native-firebase - 🔥 A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services.

vuex-persistedstate - 💾 Persist and rehydrate your Vuex state between page reloads.