🚨 Shai-Hulud Strikes Again:More than 700 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

simple-gdpr

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-gdpr

lightweight and simple gdpr solution

latest
Source
npmnpm
Version
1.1.5
Version published
Weekly downloads
73
12.31%
Maintainers
1
Weekly downloads
 
Created
Source

SimpleGDPR

Documentation

Full documentation and demo can be found here.

Introduction

SimpleGDPR is a lightweight and easy-to-use GDPR consent plugin. It features:

  • Simple API
  • Built in themes
  • Customizable via CSS
  • Mobile ready
  • No dependencies

Installation:

npm:

npm install simple-gdpr

import SimpleGDPR from 'simple-gdpr';

Basic Usage:

const notice = new SimpleGDPR({ 
  title: 'We use cookies!',
  callback: () => { 
    analytics.start(); 
    notice.close(); 
  },
  link: 'privacypolicy.html',
}

View the docs for details on all of the options you can supply to customize tooltips to suit your needs.

Keywords

gdpr

FAQs

Package last updated on 26 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts