
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
An slower but more powerfull EventEmitter implementation. events.EventEmitter are more likely designed for low level system and sometimes hard to use. This module add some more friendly API.
EventEmitter = require("eventex").EventEmitter
class Parent
constructor:()->
@name = "myobj"
addChild:(child)->
# we need to maintain the listener so we can remove it later
child._printChild = this.printChild.bind(this);
child.on "update",child._printChild
addChildEx:(child)->
# no need to maintain listener
child.listenBy this,"update",printChild
removeChild:(child)->
# remove with maintained listener
child.removeListener "update",child._printChild
removeChildEx:(child)->
# remove any listener listen by `this`
# easy work!
child.stopListenBy this
printChild:(child)->
console.log @name,"child updates:",child.name
showChilds:()->
console.log(@name);
class Child extends EventEmitter
@id = 0
constructor:()->
@name = "child #{Child.id++}"
update:()->
@emit "update",this
// old style
who as the this parameter.FAQs
An slower but more feature rich dropin replace for events.EventEmitter
The npm package eventex receives a total of 9 weekly downloads. As such, eventex popularity was classified as not popular.
We found that eventex 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.