
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
vue-confetti
Advanced tools
:tada: A Vue component for dropping confetti :tada:
npm install vue-confetti --save
<template>
<main>
<button @click="start">Start</button>
<button @click="stop">Stop</button>
</main>
</template>
<script>
import Vue from 'vue'
import VueConfetti from 'vue-confetti'
Vue.use(VueConfetti)
export default {
methods: {
start () {
this.$confetti.start()
},
stop () {
this.$confetti.stop()
}
}
}
</script>
The following options can be passed to $confetti.start()
:
Property | type | description |
---|---|---|
colors | Array | The confetti colors. |
shape | String | The shape of the confetti ('circle' , 'rect' , or 'heart' ). |
$confetti.start({
shape: 'heart',
colors: ['red', 'pink', '#ba0000']
})
FAQs
A Vue component for dropping confetti.
The npm package vue-confetti receives a total of 13,422 weekly downloads. As such, vue-confetti popularity was classified as popular.
We found that vue-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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.