Security News
New Proposed CISA Mandate Would Require Critical Infrastructure to Report Ransom Payments Within 24 Hours
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
@types/event-emitter-es6
Advanced tools
TypeScript definitions for event-emitter-es6
Weekly downloads
Readme
npm install --save @types/event-emitter-es6
This package contains type definitions for event-emitter-es6 (https://github.com/insane-jo/event-emitter#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/event-emitter-es6.
// Type definitions for event-emitter-es6 1.1
// Project: https://github.com/insane-jo/event-emitter#readme
// Definitions by: Anton Strömkvist <https://github.com/ahstro>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
interface Options {
emitDelay?: number | undefined;
strictMode?: boolean | undefined;
}
type Listener = (...args: any[]) => void;
declare class EventEmitter {
constructor(options?: Options);
on(type: string, listener: Listener): void;
once(type: string, listener: Listener): void;
off(type: string, listener?: Listener): void;
emit(type: string, ...eventArgs: any[]): void;
emitSync(type: string, ...eventArgs: any[]): void;
destroy(): void;
}
export = EventEmitter;
These definitions were written by Anton Strömkvist.
FAQs
TypeScript definitions for event-emitter-es6
The npm package @types/event-emitter-es6 receives a total of 184 weekly downloads. As such, @types/event-emitter-es6 popularity was classified as not popular.
We found that @types/event-emitter-es6 demonstrated a healthy version release cadence and project activity because the last version was released less than 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
CISA has proposed a set of new rules that would require critical infrastructure to report cyber incidents and ransom payments.
Security News
Redis is no longer OSS, breaking its explicit commitment to remain under the BSD 3-Clause License forever. This has angered contributors who are now working to fork the software.
Product
Socket AI now enables 'AI detected potential malware' alerts by default, ensuring users benefit from AI-powered state-of-the-art malware detection without needing to opt-in.