Skip to content
JS
Package

react-cookie

Universal cookies for React

v8.1.2, 29 Apr 2026MITESM + CommonJSTypes: BundledReact
$ npm install react-cookie

Key numbers

As of 25 Sept 2026
Weekly downloads
721.5k
+25% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
4 months ago
v8.1.2
GitHub stars
215
26 forks
Open issues / PRs
3 / 1
Contributors
-
Commits, last 52 weeks
20

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.2m (25 Aug 2026)Low 426.4k (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.

721,473 downloads last week, 4,076,095 in the last month. The 12-month change of +25% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
389 in total
Latest version
8.1.2, 29 Apr 20264 months ago
First published
14 Mar 2015
Last push to GitHub
9 May 2026138 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
1
Commits, last 52 weeks
20
Dependents on npm
729

Major versions

  1. v8 first release 8.0.0, 14 Mar 2025
  2. v7 first release 7.0.0, 30 Dec 2023
  3. v6 first release 6.0.0, 21 Aug 2023
  4. v5 first release 5.0.0, 14 Aug 2023
  5. v4 first release 4.0.0, 8 May 2019
  6. v3 first release 3.0.0, 17 Aug 2018
  7. v2 first release 2.0.1, 22 Apr 2017
  8. v1 first release 1.0.0, 28 Nov 2016
  9. v0 first release 0.1.0, 14 Mar 2015

Recent releases

VersionPublished
8.1.229 Apr 2026
8.1.129 Apr 2026
8.1.030 Mar 2026
8.0.118 Mar 2025
8.0.014 Mar 2025
7.2.229 Oct 2024
7.2.19 Oct 2024
7.2.021 Jul 2024
7.1.41 Apr 2024
7.1.31 Apr 2024
7.1.231 Mar 2024
7.1.131 Mar 2024
7.1.022 Feb 2024
7.0.227 Jan 2024
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
70 kB
Dependencies (3)
universal-cookiehoist-non-react-statics@types/hoist-non-react-statics
Peer dependencies (1)
react
npm install react-cookie
  • jsDelivrhttps://cdn.jsdelivr.net/npm/react-cookie@8.1.2/
  • unpkghttps://unpkg.com/react-cookie@8.1.2/
  • esm.shhttps://esm.sh/react-cookie@8.1.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.