10 Best Vanilla JavaScript Cookie Consent Libraries

List hand-picked by Openbase Experts
Learn More

cookieconsent

A free solution to the EU, GDPR, and California Cookie Laws

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
2
Top Feedback
8Great Documentation
1Easy to Use
GitHub Stars
3K
Weekly Downloads
42K
Last Commit
1yr ago
cb

cookie-bar

cookieBAR is a free & easy solution to the EU cookie law.

License Icon
License: GPL-2.0-only
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
1Great Documentation
GitHub Stars
154
Weekly Downloads
59
Last Commit
5mos ago

cookie-notice

CookieNotice — a very simple and small (2kb gzipped) vanilla JavaScript cookie notice for GDPR/DSGVO‎ information purposes. Multi language support and detection buillt in.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
71
Weekly Downloads
1K
Last Commit
1mo ago
ceb

cookies-eu-banner

1kb vanilla JS script which manages cookies consent banner display like asked by GDPR

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
376
Weekly Downloads
901
Last Commit
2yrs ago
gcn

gdpr-cookie-notice

Solution to show a gdpr compliant cookie notice on your website

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
164
Weekly Downloads
40
Last Commit
8mos ago

bengor-cookies

Cookie warning banner that requests user consent, European law compilant. Zero dependencies, fully customizable JavaScript library for IE9+

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
11
Weekly Downloads
119
Last Commit
4yrs ago
ccb

cookie-consent-box

A tiny, dependency-free cookie box widget that helps you to be GDPR complaint after including 8 kB of code (gzipped)

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
42
Weekly Downloads
47
Last Commit
2yrs ago

@nerdsofalltrad.es/gdpr-cookie-monster

A minimal EU-GDPR compliant cookie consent banner for websites and shops (5.6K gzipped).

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
27
Weekly Downloads
8
Last Commit
4yrs ago

cookieconsent2

A free solution to the EU, GDPR, and California Cookie Laws

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
3K
Weekly Downloads
4
Last Commit
1yr ago

dotsunited-cookie-consent

Utilities to implement cookie consent alert dialogs.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2
Weekly Downloads
0
Last Commit
6yrs ago