@cleargdpr/elements

ClearGDPR Elements SDK

Stats

StarsIssuesVersionUpdatedCreatedSize
@cleargdpr/elements
1.0.74 years ago4 years agoMinified + 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.