Gathering detailed insights and metrics for @types/events
Gathering detailed insights and metrics for @types/events
Gathering detailed insights and metrics for @types/events
Gathering detailed insights and metrics for @types/events
The repository for high quality TypeScript type definitions.
npm install @types/events
Typescript
Module System
100
Supply Chain
71.3
Quality
75.4
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.16%)
Shell (0.01%)
Total Downloads
931,493,735
Last Day
250,900
Last Week
1,613,818
Last Month
6,547,669
Last Year
71,842,956
NOASSERTION License
49,704 Stars
89,362 Commits
30,386 Forks
640 Watchers
6 Branches
9,955 Contributors
Updated on May 10, 2025
Latest Version
3.0.3
Package Id
@types/events@3.0.3
Unpacked Size
4.66 kB
Size
1.75 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
7.8%
250,900
Compared to previous day
Last Week
9.8%
1,613,818
Compared to previous week
Last Month
-2.4%
6,547,669
Compared to previous month
Last Year
8.7%
71,842,956
Compared to previous year
npm install --save @types/events
This package contains type definitions for events (https://github.com/Gozala/events).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/events.
1export type Listener = (...args: any[]) => void; 2 3export class EventEmitter { 4 static listenerCount(emitter: EventEmitter, type: string | number): number; 5 static defaultMaxListeners: number; 6 7 eventNames(): Array<string | number>; 8 setMaxListeners(n: number): this; 9 getMaxListeners(): number; 10 emit(type: string | number, ...args: any[]): boolean; 11 addListener(type: string | number, listener: Listener): this; 12 on(type: string | number, listener: Listener): this; 13 once(type: string | number, listener: Listener): this; 14 prependListener(type: string | number, listener: Listener): this; 15 prependOnceListener(type: string | number, listener: Listener): this; 16 removeListener(type: string | number, listener: Listener): this; 17 off(type: string | number, listener: Listener): this; 18 removeAllListeners(type?: string | number): this; 19 listeners(type: string | number): Listener[]; 20 listenerCount(type: string | number): number; 21 rawListeners(type: string | number): Listener[]; 22} 23
These definitions were written by Yasunori Ohoka, and Shenwei Wang.
No vulnerabilities found.
Reason
all changesets reviewed
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-05-05
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More