Skip to content
JS
Package

vanilla-cookieconsent

🍪 Simple cross-browser cookie-consent plugin written in vanilla js.

v3.1.0MITESM + CommonJSTypes: Bundled
$ npm install vanilla-cookieconsent

Key numbers

As of 25 Sept 2026
Weekly downloads
306.4k
+281% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
-
v3.1.0
GitHub stars
5.7k
509 forks
Open issues / PRs
56 / 6
Contributors
-
Commits, last 52 weeks
11

Downloads

Last week 2026-09-15 to 2026-09-21
0100k200k300k400kSept 2025Mar 2026Sept 2026High 375.5k (25 Aug 2026)Low 51.6k (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.

306,433 downloads last week. The 12-month change of +281% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.1.0
First published
-
Last push to GitHub
23 Jul 202663 days before the snapshot
Repository archived
No
Open issues
56
Open pull requests
6
Commits, last 52 weeks
11
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
149 kB
Dependencies (0)
None
npm install vanilla-cookieconsent

CDN

jsDelivr: 18m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/vanilla-cookieconsent@3.1.0/
  • unpkghttps://unpkg.com/vanilla-cookieconsent@3.1.0/
  • esm.shhttps://esm.sh/vanilla-cookieconsent@3.1.0
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.