# @billogram/billogram-cookies

> Cookies consent module for Billogram platform

Latest version **0.0.18** (published 2019-02-08) · UNLICENSED license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @billogram/billogram-cookies
pnpm add @billogram/billogram-cookies
yarn add @billogram/billogram-cookies
bun add @billogram/billogram-cookies
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.18 |
| Published | 2019-02-08 |
| First published | 2019-01-25 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 194.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Aiham Alkaseer |
| Maintainers | aihkas, andreashogstrom, ewakosciukiewicz, mrydengren |
| Keywords | Billogram, cookies, consent, privacy |

## Links

- npm: https://www.npmjs.com/package/@billogram/billogram-cookies
- Repository: https://github.com/billogram/billogram-cookies
- Homepage: https://github.com/billogram/billogram-cookies#readme
- Issues: https://github.com/billogram/billogram-cookies/issues
- npm.io page: https://npm.io/package/@billogram/billogram-cookies

## Dependencies (1)

- [isomorphic-style-loader--react-context](https://npm.io/package/isomorphic-style-loader--react-context.md) ^0.1.0

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 0.0.18 (latest) — 2019-02-08
- 0.0.17 — 2019-02-08
- 0.0.16 — 2019-02-08
- 0.0.15 — 2019-02-07
- 0.0.14 — 2019-02-07
- 0.0.13 — 2019-02-07
- 0.0.12 — 2019-02-07
- 0.0.11 — 2019-02-06
- 0.0.10 — 2019-02-05
- 0.0.9 — 2019-01-31
- 0.0.8 — 2019-01-31
- 0.0.7 — 2019-01-31
- 0.0.6 — 2019-01-30
- 0.0.5 — 2019-01-30
- 0.0.4 — 2019-01-28
- … 2 more at https://npm.io/package/@billogram/billogram-cookies/versions

## README

# 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`

---
_Source: https://npm.io/package/@billogram/billogram-cookies · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
