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

react-dom-confetti

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-dom-confetti - npm Package Compare versions

Comparing version 0.0.11 to 0.1.0

4

package.json
{
"name": "react-dom-confetti",
"version": "0.0.11",
"version": "0.1.0",
"description": "react component for dom-confetti",

@@ -28,3 +28,3 @@ "main": "lib/confetti.js",

"dependencies": {
"dom-confetti": "~0.0.13"
"dom-confetti": "0.1.0"
},

@@ -31,0 +31,0 @@ "scripts": {

@@ -38,3 +38,5 @@ # react-dom-confetti

- `elementCount` - Number of particle elements, defaults to 50.
- `decay` - Decrease in velocity per frame, defaults to 0.9
- `decay` - *deprecated* - Decrease in velocity per frame, defaults to 0.9 (Use of this will disable dragFriction)
- `dragFriction` - Decrease in velocity proportional to current velocity, default to 0.1
- `delay` - Delay for each fetti in milliseconds, defaults to 0.
- `random` - Randomization function, defaults to Math.random

@@ -41,0 +43,0 @@ - `colors` - An array of color codes, defaults to `['#a864fd', '#29cdff', '#78ff44', '#ff718d' '#fdff6a']`

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