MCPcopy
hub / github.com/orestbida/cookieconsent

github.com/orestbida/cookieconsent @v3.1.0 sqlite

repository ↗ · DeepWiki ↗ · release v3.1.0 ↗
219 symbols 695 edges 60 files 27 documented · 12%
README

CookieConsent v3

License: MIT Latest version CircleCI

A lightweight & gdpr compliant cookie consent plugin written in plain javascript.

CookieConsent v3 cover

Demo

Check out the playground.

There are also a few examples available on Stackblitz.

Documentation

Docs. available at cookieconsent.orestbida.com.

Contributing

Please read the contribution guide.

Thanks to all the people who already contributed!

A special thanks goes Till Sanders for creating and maintaining the npm package!

License

Distributed under the MIT License. See LICENSE for more information.

Extension points exported contracts — how you extend this code

CookieItem (Interface)
* Cookie to clear
types/index.d.ts
AutoClear (Interface)
(no doc)
types/index.d.ts
Service (Interface)
(no doc)
types/index.d.ts
UserPreferences (Interface)
(no doc)
types/index.d.ts
Category (Interface)
(no doc)
types/index.d.ts

Core symbols most depended-on inside this repo

createNode
called by 70
src/utils/general.js
appendChild
called by 69
src/utils/general.js
setAttribute
called by 47
src/utils/general.js
getById
called by 43
playground/src/modules/utils.js
addClassPm
called by 34
src/utils/general.js
elContains
called by 33
src/utils/general.js
addClass
called by 28
src/utils/general.js
getState
called by 26
playground/src/modules/stateManager.js

Shape

Function 201
Interface 15
Class 2
Method 1

Languages

TypeScript100%

Modules by API surface

src/utils/general.js58 symbols
src/core/api.js23 symbols
types/index.d.ts15 symbols
src/utils/cookies.js11 symbols
playground/src/modules/language.js11 symbols
playground/src/modules/guiOptions.js11 symbols
playground/src/modules/translationEditor.js10 symbols
src/utils/scripts.js8 symbols
src/utils/language.js8 symbols
playground/src/modules/utils.js7 symbols
playground/src/modules/stateManager.js7 symbols
playground/src/modules/serverUtils.js7 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

@babel/core7.26.7 · 1×
@babel/preset-env7.26.7 · 1×
@rollup/plugin-eslint9.0.5 · 1×
@rollup/plugin-terser0.4.4 · 1×
@types/jest29.5.14 · 1×
a11y-dialog8.1.1 · 1×
astro5.1.3 · 1×
astro-compress2.3.5 · 1×
babel-jest29.7.0 · 1×
cssnano7.0.6 · 1×
deep-equal2.2.3 · 1×
eslint9.19.0 · 1×

For agents

$ claude mcp add cookieconsent \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact