cookie
npmv2.0.1HTTP server cookie parsing and serialization
Overview
cookie is an npm package that hTTP server cookie parsing and serialization. It is extremely widely used, with about 165.5M downloads per week and 1 known dependents in the graph. The latest version is 2.0.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need hTTP server cookie parsing and serialization and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (165.5M weekly downloads).
- Clear open-source license (MIT).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of cookie.
Dependencies
Dev (8)
Used by
Popular packages that depend on cookie.
Fast, unopinionated, minimalist web framework
Fake HTTP injection library
The realtime engine behind Socket.IO. Provides the foundation of a bidirectional connection between client and server
Seamless REST/GraphQL API mocking library for browser and Node.js.
Alternatives to cookie
Frequently installed together
TypeScript definitions for node
Lightweight debugging utility for Node.js and the browser
HTTP status utility
An AST-based pattern checker for JavaScript.
Higher-level content negotiation
Fast, unopinionated, minimalist web framework
An HTTP/1.1 client, written from scratch for Node.js
An extremely fast JavaScript and CSS bundler and minifier.
The ultimate javascript content-type utility.
A querystring parser that supports nesting and arrays, with a depth limit
Create HTTP error objects
Create and parse HTTP Content-Type header
Version history
| Version | Published | License |
|---|---|---|
| 2.0.1latest | 18 days ago | MIT |
| 2.0.0 | 24 days ago | MIT |
| 1.1.1 | 7 months ago | MIT |
| 1.1.0 | 7 months ago | MIT |
| 1.0.2 | 1 year ago | MIT |
| 1.0.1 | 1 year ago | MIT |
| 1.0.0 | 1 year ago | MIT |
| 0.7.2 | 1 year ago | MIT |
| 0.7.1 | 1 year ago | MIT |
| 0.7.0 | 1 year ago | MIT |
| 0.6.0 | 2 years ago | MIT |
| 0.5.0 | 4 years ago | MIT |
| 0.4.2 | 4 years ago | MIT |
| 0.4.1 | 6 years ago | MIT |
| 0.4.0 | 7 years ago | MIT |
| 0.3.1 | 10 years ago | MIT |
| 0.3.0 | 10 years ago | MIT |
| 0.2.4 | 10 years ago | MIT |
| 0.2.3 | 10 years ago | MIT |
| 0.2.2 | 10 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install cookie?
Run `npm install cookie` to add cookie to your npm project.
What license is cookie released under?
cookie is distributed under the MIT license.
How popular is cookie?
cookie has approximately 165,488,105 downloads per week and 1 known dependent packages.