@studiohyperdrive/ngx-cookies
TypeScript icon, indicating that this package has built-in type declarations

19.0.0 • Public • Published

# Angular Tools: NgxCookies (@studiohyperdrive/ngx-cookies)

This library provides a quick and easy wrapper for CookieConsent V3.

Installation

Install the package first:

npm install @studiohyperdrive/ngx-cookies

Add the CookieConsent CSS to the build step.

        "styles": [
          "node_modules/vanilla-cookieconsent/dist/cookieconsent.css"
        ],

Versioning and build information

This package will follow a semver-like format, major.minor.patch, in which:

  • major: Follows the Angular major version
  • minor: Introduces new features and (potential) breaking changes
  • patch: Introduces bugfixes and minor non-breaking changes

For more information about the build process, authors, contributions and issues, we refer to the hyperdrive-opensource repository.

Concept

The ngx-cookies package was made as an extension on top of the vanilla CookieConsent in order to provide several Angular based functionalities such as a setup through a server, Observables for the provided events and a directive to handle cookie based content.

The package refrains from adding too much custom logic and is entirely based on the existing CookieConsent API. We refer to the documentation of said package for more information regarding the setup of the cookie handler.

Documentation

To find more information regarding this package, we refer to our documentation platform.

Package Sidebar

Install

npm i @studiohyperdrive/ngx-cookies

Weekly Downloads

36

Version

19.0.0

License

MIT

Unpacked Size

51.4 kB

Total Files

17

Last publish

Collaborators

  • jeroenvalcke
  • tom-odb
  • brilniels
  • shd-developer
  • thomasbormans
  • sanderh
  • laurenspeeters
  • rednas
  • denisvalcke
  • ibenvandeveire
  • ian-emsens-shd
  • wouterheirstrate
  • bertyhell
  • ekincia
  • npieter
  • wouterbas
  • reunefe