Socket
Socket
Sign inDemoInstall

@billogram/billogram-cookies

Package Overview
Dependencies
Maintainers
4
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@billogram/billogram-cookies

Cookies consent module for Billogram platform


Version published
Weekly downloads
5
increased by150%
Maintainers
4
Weekly downloads
 
Created
Source

Description

Getting Started

install yarn run locally yarns start

Prerequisites

Development

npm install file: [relative path to the project root, or the folder containing package.json]

Creating a symlink would make it easier to update locally: https://docs.npmjs.com/cli/link.html

Installing

yarn or npm i

Usage

loading the default levels <BillogramCookies callback={ myCallBackFunction }/>

Loading the module with multiple custom levels:

<BillogramCookies consentLevels= {[
   {
   title: 'Functional',
   id: 'billogram-cookies-check-level0',
   description: '',
   checkedByDefault: true,
   isStatic: false,
   expiryTime: 365,
   enabled: true,
   level: 0,
 },
   {
   title: 'Functional',
   id: 'billogram-cookies-check-level0',
   description: '',
   checkedByDefault: true,
   isStatic: false,
   expiryTime: 365,
   enabled: true,
   level: 1,
 },
 ]}
 />
Optional props:
  customTranslations

  closeOnScroll

  customStyles

  callback

  policyLink

  message: The default message to display, insert {{link}} to place the policy link inside the message.

  disabledCookiesMessage: A message to display if cookies are completely disabled

Testing

yarn test

Publishing

You should be added to billogram organization on npm run npm publish --access public

Keywords

FAQs

Package last updated on 08 Feb 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc