Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
bianco.events
Advanced tools
Modern DOM events helpers written in es2015
This script will not be transpiled and it is only thought to be part of your build chain.
import { add, remove, once } from 'bianco.events'
add(node/s, 'click mouseenter', function(e) {
console.log('tadaaa!')
})
Set a listener for all the events received separated by spaces
els
(HTMLElement | Array) DOM node/s where the listeners will be boundevList
string list of events we want to bind space separatedcb
Function listeners callbackoptions
Object event options (capture, once and passive)Returns (HTMLElement | NodeList | Array) DOM node/s and first argument of the function
Set a listener using from a list of events triggering the callback only once
els
(HTMLElement | Array) DOM node where the listeners will be boundevList
string list of events we want to bind space separatedcb
Function listeners callbackoptions
Object event options (capture, once and passive)Returns (HTMLElement | NodeList | Array) DOM node/s and first argument of the function
Remove all the listeners for the events received separated by spaces
els
(HTMLElement | Array) DOM node/s where the events will be unbindevList
string list of events we want unbind space separatedcb
Function listeners callbackoptions
Object event options (capture, once and passive)Returns (HTMLElement | NodeList | Array) DOM node/s and first argument of the function
FAQs
Modern DOM events helpers written in es2015
The npm package bianco.events receives a total of 100 weekly downloads. As such, bianco.events popularity was classified as not popular.
We found that bianco.events demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.