@cleargdpr/elements

ClearGDPR Elements SDK

Stats

stars šŸŒŸissues āš ļøupdated šŸ› created šŸ£size šŸ‹ļøā€ā™€ļø
@cleargdpr/elements
Minified + gzip package size for @cleargdpr/elements in KB

Readme

Table of Contents generated with DocToc

Elements SDK

These two are the main patterns the Core SDK is based on:

ā”œā”€ config
ā”œā”€ scripts
ā””ā”€ src
    ā”œā”€ components
    |  ā”œā”€ Common          # Reusable components for all the Rights
    |  ā”œā”€ Consent         # Right to Consent Components
    |  ā”œā”€ Erasure         # Right to be Forgotten Components
    |  ā”œā”€ Portability     # Data Portability Components
    |  ā”œā”€ Processors      # Processors Components (used by other components)
    |  ā”œā”€ Rectification   # Right to Rectification Components
    |  ā””ā”€ Share           # Data Sharing Componets
    ā”œā”€ theme              # Default styling
    ā”œā”€ utils              # Useful functions
    ā”œā”€ Element.js         # Factory to instance different Components
    ā”œā”€ Elements.js        # Inject `window.cg` or check if exists and give access to different flows
    ā””ā”€ index.js

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.