Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
js-confetti
Advanced tools
🎉 JavaScript Confetti library
Demo: https://loonywizard.github.io/js-confetti/
Install library via yarn or npm
yarn add js-confetti
Initialize instance of JSConfetti class and call addConfetti method
import JSConfetti from 'js-confetti'
const jsConfetti = new JSConfetti()
jsConfetti.addConfetti()
addConfetti
method accepts args object with the following params:
Prop | Type | Description | Default value |
---|---|---|---|
confettiRadius | number | Radius of confetti shape in pixels | 8 |
confettiesNumber | number | Number of confetties to fire | 200 |
confettiColors | string[] | Array of colors for confetti | Array of RGB colors |
jsConfetti.addConfetti({
confettiRadius: 8,
confettiesNumber: 200,
confettiColors: ['#fcf403', '#62fc03', '#f4fc03', '#03e7fc', '#03fca5', '#a503fc', '#fc03ad', '#fc9003']
})
FAQs
JS Confetti library with zero dependencies, works without any config, TS typings included, adapts to user screen
The npm package js-confetti receives a total of 31,602 weekly downloads. As such, js-confetti popularity was classified as popular.
We found that js-confetti demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.