cookies
set-cookie-parser
cookies | set-cookie-parser | |
---|---|---|
2 | 1 | |
1,273 | 168 | |
0.3% | - | |
6.3 | 4.5 | |
2 months ago | about 1 month 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.
cookies
-
JWT refresh tokens
When it comes to sending a cookie "session", this package is used by Koa, and it has some pretty good documentation on what you need to do to get your desired end result (ie: signed cookie) - https://github.com/pillarjs/cookies
- What is the best to implement a Remember me checkbox on a login page?
set-cookie-parser
-
Fetch API has landed into Node.js
https://github.com/nodejs/undici/blob/2dd3437e20c5a3cc466226...
I've argued with the authors of the fetch spec about this before, and ultimately settled on using https://www.npmjs.com/package/set-cookie-parser#user-content... to work around this flaw. (For clarity, I published the package, but chrusart wrote that method - https://github.com/nfriedly/set-cookie-parser/pull/19)
What are some alternatives?
uuid - Generate RFC-compliant UUIDs in JavaScript
undici - An HTTP/1.1 client, written from scratch for Node.js
keygrip - Key signing and verification for rotated credentials
deno - A modern runtime for JavaScript and TypeScript.
refresh-token-rotation - This Repository implements Refresh Token Rotation Authentication System and Automatic Retry Mechanism of Failed APIs with Stale Access Tokens, using MERN (Mongo DB - Express - React - Node) Stack
fetch - Fetch Standard
node-jwt-authentication-api - NodeJS JWT Authentication API
clipanion - Type-safe CLI library / framework with no runtime dependencies
cookieconsent - A free solution to the EU, GDPR, and California Cookie Laws
gists - A repo for Backblaze gists used in our FAQ
create-react-app - Set up a modern web app by running one command.
got - 🌐 Human-friendly and powerful HTTP request library for Node.js