Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Powerful application events and event handling, made easy.
Download the minified version or the development version.
Eventi("group:kind#label('val')")
-> { category:'group', type:'kind', tags:['label'], label:true, detail:'val' }
this
as target
param to copied functions): Eventi.fy(foo)
-> foo.fire('type')
Eventi.on([target, ]'type', fn)
Eventi.on([target, ]'first second third', fn)
Eventi.on([target, ]'selector', 'type', fn)
Eventi.on([target, ]"category:type#tag", fn)
Eventi.on([target, ]'type', fn, data)
Eventi.on([target, ]'type', function(e, arg, arg){})
Eventi.fire(Node|object, 'type')
Eventi.fire('type')
=== `Eventi.fire(document || this, 'type')Eventi.fire(Array|NodeList, 'type')
Eventi.fire([target, ]'type', data)
data-eventi="submit /beforeunload=quit"
on a root or container elementsubmit="validate>save" quit="Utils.persist"
click="..."
is globally supported by default using trigger.js' intelligent click/enter logicEventi.on([target, ]'^type', fn)
Eventi.fire([target, ]'^type', fn)
Eventi.on([target, ]'keyup[shift-a]', fn)
Eventi.on('location', '?view={view}'||regex, function(e, url, params){ console.log(params.view); })
Eventi.fire('location', '?view={0}', ['foo'])
Eventi.on('location', function(e){ console.log(e.uri, e.oldURI, e.srcEvent); })
Eventi.off([target, ]['type', ][fn])
Eventi.off([target, ]['first second third', ][fn])
Eventi.off([target, ]['category:type#tag', ][fn])
Eventi.until([target, ]number, 'type', fn)
Eventi.until([target, ]'reference', 'type', fn)
Eventi.until([target, ]testFn, 'type', fn)
Eventi.on([target, ]'foo+bar', fn)
Eventi.on([target, ]'one>two>three', fn...)
Eventi.fire([target, ]'first>second'[, data...])
e.pauseSequence([promise])
,e.resumeSequence()
, e.isSequencePaused()
Eventi._.comboTimeout = 1000
Eventi.signal('type');
-> Eventi.on.type([target, ]handler)
Eventi.signal(o, 'type', 'type2')
-> target.until.type2(1, handler)
FAQs
Powerful application events and event handling, made easy.
We found that eventi 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.