stokado
js-cookie
stokado | js-cookie | |
---|---|---|
5 | 21 | |
370 | 21,620 | |
- | 0.3% | |
7.6 | 7.4 | |
18 days ago | 12 days ago | |
TypeScript | 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.
stokado
- Stokado is a library that serves as a syntax sugar for storage, providing support for serialization, subscription-based listening, expiration setting, and one-time value.
- Show HN
-
How to keep the type of storage value unchanged?
Hello, everyone! In September last year, I created a new repository called proxy-web-storage which has over 200 stars now. It can helps some developers manage storage more easily, so I want to share it with you. If you think this repository is useful and deserves more attention, please click a star to support it. I'll introduce it below, so let's get started.
- I am maintaining a repository. proxy-web-storage, keep the type of storage value unchanged and change array and object directly. And it also supports listening to the changes and setting expires.
js-cookie
-
Coding Authentication? Stop now and let Choreo manage it.
Once the user is logged in, you may need to access information like the user's name, email, etc. Choreo sends this information encoded in a cookie (named userinfo) upon successful login. We can extract the information using a cookie parsing library. For this example, we will be using js-cookie library.
-
Rust For JavaScript Developers Ltd. Received a Cease and Desist From Oracle Due to JavaScript Trademark
Interesting thread. If oracle were to send a cease and desist to everyone that uses "javascript" I would have received one years ago: https://github.com/js-cookie/js-cookie
- Next.js authentication with getServerSideProps and cookies
-
How to set cookies on button click on next.js app route?
You could just use something like https://www.npmjs.com/package/js-cookie
-
How should I store bearer tokens in a React app?
Have a look at js-cookie. Also, read this.
-
Cookiebot: Problem with deleting cookies after user has changed consent
js-cookie might help?
-
Why am I getting undefined when I try to access the cookie that I set?
Are you using js-cookie, this js-cookie, on the server?
-
Saving users’ preferences in SvelteKit
So something like this... (I’ll be using this package to simplify the code)
-
React Cookie 🍪 Hook
This is a simple video start guide to see how to get, set and remove cookies using npm package js-cookie in react.
- GitHub - js-cookie/js-cookie: A simple, lightweight JavaScript API for handling browser cookies
What are some alternatives?
WatermelonDB - 🍉 Reactive & asynchronous database for powerful React and React Native apps ⚡️
vue-cookies - A simple Vue.js plugin for handling browser cookies
PouchDB - :koala: - PouchDB is a pocket-sized database.
jquery-cookie
Dexie.js - A Minimalistic Wrapper for IndexedDB
cookies.js - 🍫 Tastier cookies, local, session, and db storage in a tiny package. Includes subscribe() events for changes.
awesome-web-storage - :sunglasses: Everything you need to know about Client-side Storage.
localForage - 💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.
storage - A library to use Web Storage API with Observables
klaro-js - Klaro Privacy Manager. An open-source, privacy-friendly & compliant consent manager for your website.
easy-storage - Turns your localStorage into a universal place for data of any type [Moved to: https://github.com/russo-programmisto/easy-storage]
lockr - A minimal API wrapper for localStorage