Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

django-cookie-consent

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-cookie-consent

Frontend code for django-cookie-consent

  • 0.6.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
970
decreased by-17.59%
Maintainers
1
Weekly downloads
 
Created
Source

Package containing the JS code for django-cookie-consent.

Jazzband

The cookiebar module is shipped in the Python package itself and available through django's staticfiles mechanism. This package is aimed at users wishing to include the assets in their own Javascript bundle through webpack/vite/...

Installation

npm install django-cookie-consent

You can now import the public API in your own bundle:

import {showCookieBar} from '@jazzband/django-cookie-consent';

TypeScript and ESM

The source code is written in TypeScript. The type declarations are shipped in the published package.

We only publish ES modules and do not offer CommonJS.

Building

Use nvm or your tool of choice to select the right NodeJS version:

nvm use

Building the NPM package:

npm run build

Lastly, the frontend toolchain also builds the cookiebar module bundle that's included in the Python package:

npm run build:django-static

Keywords

FAQs

Package last updated on 10 May 2024

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