9 Best Node.js Cookies Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

tough-cookie

RFC6265 Cookies and CookieJar for Node.js

License Icon
License: BSD-3-Clause
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
711
Weekly Downloads
39M
Last Commit
24d ago
Bundle Size (min+gzip)
44.3KB
Not Tree-Shakeable

universal-cookie

Load and save cookies within your React application

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
4Great Documentation
1Easy to Use
GitHub Stars
2K
Weekly Downloads
898K
Last Commit
2mos ago
Bundle Size (min+gzip)
1.49KB
Tree-Shakeable
acs

axios-cookiejar-support

Add tough-cookie support to axios.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
GitHub Stars
197
Weekly Downloads
138K
Last Commit
7d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

cookie

HTTP server cookie parsing and serialization

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
1Easy to Use
GitHub Stars
914
Weekly Downloads
27M
Last Commit
6mos ago
Bundle Size (min+gzip)
0.82KB
Not Tree-Shakeable
scp

set-cookie-parser

Node.js library for parsing HTTP set-cookie headers

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
107
Weekly Downloads
899K
Last Commit
24d ago
Bundle Size (min+gzip)
1.02KB
Not Tree-Shakeable
cs

cookie-signature

cookie signing

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
124
Weekly Downloads
17M
Last Commit
2yrs ago
Bundle Size (min+gzip)
0.41KB
Not Tree-Shakeable

cookies

Signed and unsigned cookies based on Keygrip

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
2M
Last Commit
2yrs ago
Bundle Size (min+gzip)
2.11KB
Not Tree-Shakeable

cookie-session

Simple cookie-based session middleware

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
966
Weekly Downloads
164K
Last Commit
2yrs ago
Bundle Size (min+gzip)
4.60KB
Not Tree-Shakeable

client-sessions

secure sessions stored in cookies

License Icon
License: MPL-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
742
Weekly Downloads
17K
Last Commit
2yrs ago
Bundle Size (min+gzip)
4.31KB
Not Tree-Shakeable