New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

reactjs-cookie-consent

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

reactjs-cookie-consent - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "reactjs-cookie-consent",
"version": "1.0.1",
"version": "1.0.2",
"description": "A simple and customizable cookie banner in React",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -6,13 +6,15 @@ # React cookie consent

- Custom cookie names
- Your own TTL
- slide up animation
- Custom TTL for the cookie
- slide up animation (can be turned off)
- delay before it shows up
- custom icon
- default icon (can be disabled)
- callbacks for accept/deny clicks for additional handling
- clear cookie function
- get cookie value function
- styling configs for all elements
# Usage
We will show some different usages of the component, more examples can be found on [Algobook](https://algobook.info/docs/cookie-consent).
We will show some different usages of the component, much more examples can be found on [Algobook](https://algobook.info/docs/cookie-consent).

@@ -73,2 +75,4 @@ ### Default

More examples and explanation on [Algobook](https://algobook.info/docs/cookie-consent).
# Some images and gifs

@@ -75,0 +79,0 @@

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