
Security News
n8n Tops 2025 JavaScript Rising Stars as Workflow Platforms Gain Momentum
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.
ever-delegate
Advanced tools
DOM event delegation, a la jQuery's el.on('click', 'selector > selector') method.
var ever = require('ever')
, sel = require('cssauron-html')
, delegate = require('ever-delegate')
delegate(ever(document.body), sel('a[href^=/]'))
.on('click', function(ev) {
console.log(this) // <-- the <a> element selected by the above
})
Create a delegate event emitter. Works with any event emitter that emits DOM event objects.
filterFunction is a function that takes one argument -- a node --
and returns whether or not that node should be considered a match or
not. This is compatible with the matchesSelector spec (available as webkitMatchesSelector or
mozMatchesSelector). It's also compatible with CSSauron selectors.
MIT
FAQs
add event delegation to ever event emitters
We found that ever-delegate 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
n8n led JavaScript Rising Stars 2025 by a wide margin, with workflow platforms seeing the largest growth across categories.

Security News
The U.S. government is rolling back software supply chain mandates, shifting from mandatory SBOMs and attestations to a risk-based approach.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.