Skip to content
JS
Package

cookie

HTTP server cookie parsing and serialization

v2.0.1, 30 Jun 2026MITESM onlyTypes: NoneHTTP servers and web frameworksNode.js utilities
$ npm install cookie

Key numbers

As of 25 Sept 2026
Weekly downloads
156.1m
+114% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 months ago
v2.0.1
GitHub stars
1.5k
203 forks
Open issues / PRs
2 / 10
Contributors
49
Commits, last 52 weeks
29

Downloads

Last week 2026-09-15 to 2026-09-21
0100m200m300mSept 2025Mar 2026Sept 2026High 206.6m (25 Aug 2026)Low 50.9m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

156,098,681 downloads last week, 754,629,888 in the last month. The 12-month change of +114% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
435 in total
Latest version
2.0.1, 30 Jun 20262 months ago
First published
28 May 2012
Last push to GitHub
8 Jul 202678 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
10
Commits, last 52 weeks
29
Dependents on npm
5,114

Major versions

  1. v2 first release 2.0.0, 24 Jun 2026
  2. v1 first release 1.0.0, 8 Oct 2024
  3. v0 first release 0.0.0, 28 May 2012

Recent releases

VersionPublished
2.0.130 Jun 2026
2.0.024 Jun 2026
1.1.126 Nov 2025
1.1.025 Nov 2025
1.0.220 Nov 2024
1.0.111 Oct 2024
1.0.08 Oct 2024
0.7.27 Oct 2024
0.7.13 Oct 2024
0.7.02 Oct 2024
0.6.07 Nov 2023
0.5.011 Apr 2022
0.4.22 Feb 2022
0.4.122 Apr 2020
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=22
Runtimes
-
Unpacked size (npm)
59 kB
Dependencies (0)
None
npm install cookie

CDN

jsDelivr: 382k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/cookie@2.0.1/
  • unpkghttps://unpkg.com/cookie@2.0.1/
  • esm.shhttps://esm.sh/cookie@2.0.1
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.