
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@cuties/event
Advanced tools
Cutie extension for event module in Node. It's based on the Async Tree Pattern.
You can find examples of using this library in the test directory.
npm install @cuties/event
npm test
npm run build
const {
// Needed async objects here from the table below
} = require('@cuties/event');
For more information about parameters in the async objects visit docs of Node for event module.
| Async Object | Async/sync call | Parameters(default value/description) | Representation result |
|---|---|---|---|
EmittedEmitter | emitter.emit | emitter, eventName, ...args | emitter |
EmitterWithAdditionalListener | emitter.addListener | emitter, eventName, listener | emitter |
EmitterWithAdditionalOneTimeListener | emitter.once | emitter, eventName, listener | emitter |
EmitterWithAdditionalPrependedListener | emitter.prependListener | emitter, eventName, listener | emitter |
EmitterWithAdditionalPrependedOneTimeListener | emitter.prependOnceListener | emitter, eventName, listener | emitter |
EmitterWithMaxListeners | emitter.setMaxListeners | emitter, n | emitter |
EmitterWithNewListenerEvent | emitter.once('newListener', listener) | emitter, listener(Event with definedBody(event, listener)) | emitter |
EmitterWithRemoveEvent | emitter.once('removeListener', listener) | emitter, listener(Event with definedBody(event, listener)) | emitter |
EmitterWithRemovedListener | emitter.removeListener | emitter, eventName, listener | emitter |
EmitterWithoutAnyListeners | emitter.removeAllListeners | emitter, eventName | emitter |
EventNames | emitter.eventNames | emitter | (string or symbol)[] |
ListenerCount | emitter.listenerCount | emitter, eventName | number |
Listeners | emitter.listeners | emitter, eventName | function[] |
MaxListeners | emitter.getMaxListeners | emitter | number |
FAQs
Cutie extension for Events module in Node.
We found that @cuties/event 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.