@isomorph-agency/cookie-consent-shared
v1.0.1
Published
Shared schema, validation and constants for @isomorph-agency/cookie-consent
Maintainers
Readme
@isomorph-agency/cookie-consent-shared
Shared schema, validation and constants for the ISOMORPH cookie consent stack — a free, open-source GDPR cookie consent solution (Google Consent Mode V2, CNIL-compliant).
This is an internal dependency. You normally don't install it directly — it is pulled in by the packages below. It exists so the Strapi v4 and v5 plugins and the React package share a single source of truth for the consent content-type schema, payload validation and category constants.
The stack
| Package | Description |
|---------|-------------|
| @isomorph-agency/cookie-consent | React banner + preferences modal + GCM V2 + blocked-content facades |
| strapi-plugin-cookie-consent | Strapi v5 plugin — consent proof logging |
| strapi-plugin-cookie-consent-v4 | Strapi v4 plugin |
| @isomorph-agency/cookie-consent-shared | This package |
Contents
schema.json— single source of truth for thecookie-consentscontent-typevalidation.js— consent payload validation (shared by v4/v5 controllers)constants.js— consent categories, cookie duration (13 months, CNIL), config defaults
Full documentation, contributing guide and issue tracker: github.com/agenceisomorph/cookie-consent
License
MIT — free for personal and commercial use.
Built with care by ISOMORPH.
