UNPKG

vanilla-cookieconsent

Version:

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

34 lines (22 loc) 1.49 kB
# CookieConsent v3 [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT) [![Latest version](https://img.shields.io/github/package-json/v/orestbida/cookieconsent?color=2b4eed&label=Release)](https://github.com/orestbida/cookieconsent/releases/v3.0.0) [![CircleCI](https://dl.circleci.com/status-badge/img/gh/orestbida/cookieconsent.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/orestbida/cookieconsent) A __lightweight__ & __gdpr compliant__ cookie consent plugin written in plain javascript. ![CookieConsent v3 cover](demo/assets/cover.png "Cover") ## Demo Check out the [playground](https://playground.cookieconsent.orestbida.com). There are also a few examples available on [Stackblitz](https://stackblitz.com/@orestbida/collections/cookieconsent-v3). ## Documentation Docs. available at [cookieconsent.orestbida.com](https://cookieconsent.orestbida.com). ## Contributing Please read the [contribution guide](/CONTRIBUTING.md). Thanks to all the people who already contributed! <a href="https://github.com/orestbida/cookieconsent/graphs/contributors"> <img src="https://contrib.rocks/image?repo=orestbida/cookieconsent" /> </a> <br> <br> A special thanks goes [Till Sanders](https://github.com/tillsanders) for creating and maintaining the npm package! ## License Distributed under the MIT License. See [LICENSE](https://github.com/orestbida/cookieconsent/blob/master/LICENSE) for more information.