{"_id":"@types/events","_rev":"3277297","name":"@types/events","description":"TypeScript definitions for events","dist-tags":{"latest":"3.0.3","ts2.0":"3.0.0","ts2.1":"3.0.0","ts2.2":"3.0.0","ts2.3":"3.0.0","ts2.4":"3.0.0","ts2.5":"3.0.0","ts2.6":"3.0.0","ts2.7":"3.0.0","ts2.8":"3.0.0","ts2.9":"3.0.0","ts3.0":"3.0.0","ts3.1":"3.0.0","ts3.2":"3.0.0","ts3.3":"3.0.0","ts3.4":"3.0.0","ts3.5":"3.0.0","ts3.6":"3.0.0","ts3.7":"3.0.0","ts3.8":"3.0.0","ts3.9":"3.0.0","ts4.0":"3.0.0","ts4.1":"3.0.0","ts4.2":"3.0.0","ts4.3":"3.0.0","ts4.4":"3.0.0","ts4.5":"3.0.3","ts4.6":"3.0.3","ts4.7":"3.0.3","ts4.8":"3.0.3","ts4.9":"3.0.3","ts5.0":"3.0.3","ts5.1":"3.0.3","ts5.2":"3.0.3","ts5.3":"3.0.3","ts5.4":"3.0.3","ts5.5":"3.0.3","ts5.6":"3.0.3","ts5.7":"3.0.3","ts5.8":"3.0.3","ts5.9":"3.0.3","ts6.0":"3.0.3"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2025-12-08T21:52:05.000Z","created":"2017-12-03T16:27:31.785Z","3.0.3":"2023-11-07T02:27:13.483Z","3.0.2":"2023-10-18T02:03:23.119Z","3.0.1":"2023-09-23T17:25:17.801Z","3.0.0":"2019-01-24T03:19:17.438Z","1.2.0":"2018-02-26T20:03:13.307Z","1.1.0":"2017-12-03T16:27:31.785Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/events"},"versions":{"3.0.3":{"name":"@types/events","version":"3.0.3","description":"TypeScript definitions for events","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/events","license":"MIT","contributors":[{"name":"Yasunori Ohoka","githubUsername":"yasupeke","url":"https://github.com/yasupeke"},{"name":"Shenwei Wang","githubUsername":"weareoutman","url":"https://github.com/weareoutman"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/events"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"5f4b7f7dad95eb65e392f898c2cf1af7ca4f51ada625ed70ea1a4a5ab1086b21","typeScriptVersion":"4.5","_id":"@types/events@3.0.3","dist":{"shasum":"a8ef894305af28d1fc6d2dfdfc98e899591ea529","size":1797,"noattachment":false,"key":"/@types/events/-/@types/events-3.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/events/download/@types/events-3.0.3.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/events_3.0.3_1699324033317_0.09509658968592372"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T02:27:13.483Z","publish_time":1699324033483,"_source_registry_name":"default","_cnpm_publish_time":1699324033483},"3.0.2":{"name":"@types/events","version":"3.0.2","description":"TypeScript definitions for events","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/events","license":"MIT","contributors":[{"name":"Yasunori Ohoka","githubUsername":"yasupeke","url":"https://github.com/yasupeke"},{"name":"Shenwei Wang","githubUsername":"weareoutman","url":"https://github.com/weareoutman"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/events"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"9e9999380eb2d5c53f0eaee18b301ce0cabbd603a3f7743a74658c05c571cd1f","typeScriptVersion":"4.5","_id":"@types/events@3.0.2","dist":{"shasum":"c9b18152fdac34e924260532762255e34ef1d491","size":1791,"noattachment":false,"key":"/@types/events/-/@types/events-3.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/events/download/@types/events-3.0.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/events_3.0.2_1697594602936_0.012808103869585308"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T02:03:23.119Z","publish_time":1697594603119,"_source_registry_name":"default","_cnpm_publish_time":1697594603119},"3.0.1":{"name":"@types/events","version":"3.0.1","description":"TypeScript definitions for events","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/events","license":"MIT","contributors":[{"name":"Yasunori Ohoka","url":"https://github.com/yasupeke","githubUsername":"yasupeke"},{"name":"Shenwei Wang","url":"https://github.com/weareoutman","githubUsername":"weareoutman"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/events"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"3d16051441e389b03b5bc28a264a3e720627143af2f93d5a0a762e67a796904a","typeScriptVersion":"4.5","_id":"@types/events@3.0.1","dist":{"shasum":"e94892d60bcf582e3ee95ddedb89f77373925746","size":1867,"noattachment":false,"key":"/@types/events/-/@types/events-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/events/download/@types/events-3.0.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/events_3.0.1_1695489917613_0.3357613856686563"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-23T17:25:17.801Z","publish_time":1695489917801,"_source_registry_name":"default","_cnpm_publish_time":1695489917801},"3.0.0":{"name":"@types/events","version":"3.0.0","description":"TypeScript definitions for events","license":"MIT","contributors":[{"name":"Yasunori Ohoka","url":"https://github.com/yasupeke","githubUsername":"yasupeke"},{"name":"Shenwei Wang","url":"https://github.com/weareoutman","githubUsername":"weareoutman"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"ae078136220837864b64cc7c1c5267ca1ceb809166fb74569e637bc7de9f2e12","typeScriptVersion":"2.0","_id":"@types/events@3.0.0","dist":{"shasum":"2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7","size":1735,"noattachment":false,"key":"/@types/events/-/@types/events-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/events/download/@types/events-3.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/events_3.0.0_1548299957342_0.08197834543802518"},"_hasShrinkwrap":false,"publish_time":1548299957438,"_cnpm_publish_time":1548299957438},"1.2.0":{"name":"@types/events","version":"1.2.0","description":"TypeScript definitions for events","license":"MIT","contributors":[{"name":"Yasunori Ohoka","url":"https://github.com/yasupeke","githubUsername":"yasupeke"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"77df50634244c91df37e85c9c99789b6c252e985898e5c35471b3a6e0f156288","typeScriptVersion":"2.0","_id":"@types/events@1.2.0","dist":{"shasum":"81a6731ce4df43619e5c8c945383b3e62a89ea86","size":1637,"noattachment":false,"key":"/@types/events/-/@types/events-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/events/download/@types/events-1.2.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/events_1.2.0_1519675393227_0.8009902172945162"},"_hasShrinkwrap":false,"publish_time":1519675393307,"_cnpm_publish_time":1519675393307},"1.1.0":{"name":"@types/events","version":"1.1.0","description":"TypeScript definitions for events","license":"MIT","contributors":[{"name":"Yasunori Ohoka","url":"https://github.com/yasupeke","githubUsername":"yasupeke"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"16119704233cb146d273b3f0f2195ec03afa6fd2101840c82ac0381aa7001295","typeScriptVersion":"2.0","_id":"@types/events@1.1.0","dist":{"shasum":"93b1be91f63c184450385272c47b6496fd028e02","size":1631,"noattachment":false,"key":"/@types/events/-/@types/events-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/events/download/@types/events-1.1.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/events-1.1.0.tgz_1512318451714_0.5200264598242939"},"directories":{},"publish_time":1512318451785,"_hasShrinkwrap":false,"_cnpm_publish_time":1512318451785}},"readme":"# Installation\r\n> `npm install --save @types/events`\r\n\r\n# Summary\r\nThis package contains type definitions for events (https://github.com/Gozala/events).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/events.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/events/index.d.ts)\r\n````ts\r\nexport type Listener = (...args: any[]) => void;\n\nexport class EventEmitter {\n    static listenerCount(emitter: EventEmitter, type: string | number): number;\n    static defaultMaxListeners: number;\n\n    eventNames(): Array<string | number>;\n    setMaxListeners(n: number): this;\n    getMaxListeners(): number;\n    emit(type: string | number, ...args: any[]): boolean;\n    addListener(type: string | number, listener: Listener): this;\n    on(type: string | number, listener: Listener): this;\n    once(type: string | number, listener: Listener): this;\n    prependListener(type: string | number, listener: Listener): this;\n    prependOnceListener(type: string | number, listener: Listener): this;\n    removeListener(type: string | number, listener: Listener): this;\n    off(type: string | number, listener: Listener): this;\n    removeAllListeners(type?: string | number): this;\n    listeners(type: string | number): Listener[];\n    listenerCount(type: string | number): number;\n    rawListeners(type: string | number): Listener[];\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Mon, 06 Nov 2023 22:41:05 GMT\r\n * Dependencies: none\r\n\r\n# Credits\r\nThese definitions were written by [Yasunori Ohoka](https://github.com/yasupeke), and [Shenwei Wang](https://github.com/weareoutman).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/events","license":"MIT"}