jquery-cookie
LokiJS
jquery-cookie | LokiJS | |
---|---|---|
2 | 2 | |
8,670 | 6,686 | |
- | - | |
0.0 | 0.0 | |
almost 9 years ago | 10 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
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.
jquery-cookie
-
jQuery $.cookie is not a function
I have downloaded the jQuery cookie plugin here.
-
What is the shortest function for reading a cookie by name in JavaScript?
The method that jQuery.cookie uses something like this (modified, 165 bytes, 125 minified):
LokiJS
-
I've created a lightning fast in-memory database for the frontend - fully type-safe, of course
(This compares a simple JS Map() to LokiJS to BlinkDB. You can find more benchmarks in the repository.)
-
Part 3: Creating an embeddable chat widget
So instead I went with lokijs even though I find the documentation of it quite horrible, I have used it before and it works without issues and has lots of features. And I thought it would also be good to show how I use it so others don't have to figure that our on their own 😇
What are some alternatives?
js-cookie - A simple, lightweight JavaScript API for handling browser cookies
localForage - 💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.
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.
NeDB - The JavaScript Database, for Node.js, nw.js, electron and the browser
Cookies - JavaScript Client-Side Cookie Manipulation Library
sql.js - A javascript library to run SQLite on the web.
bag.js - JS / CSS / files loader + key/value storage
PouchDB - :koala: - PouchDB is a pocket-sized database.
basil.js - The missing Javascript smart persistent layer
secStore.js - Encryption enabled browser storage