{"versions":{"1.1.0":{"name":"@types/ee-first","version":"1.1.0","description":"TypeScript definitions for ee-first","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"54f6e14bad0dbb675734be8d8688266c0188589df0928eab9b10efbc5a5deb61","typeScriptVersion":"3.0","_id":"@types/ee-first@1.1.0","dist":{"integrity":"sha512-Vkq1JoYsK7Uojrh/m+esVXhue+o5yJzqJojgRZawx+BTeztuS2O9fw2f5ZbTAo1qTeD8NKfwZ8WBvdNkBOEOqA==","shasum":"b3b008c5480a5f007205068dcbc2931845f9a9ab","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/ee-first/-/ee-first-1.1.0.tgz","fileCount":4,"unpackedSize":4130,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcIcE2CRA9TVsSAnZWagAAkgEP/0LeIjYoF+HKpAWw/a7Q\nvnddZ07WNblEYktTjSnX90HFsmL1bzuURwkacGhBNjH0yVYpheUscVgY/T5k\n3/I7VHRt9e2cXEGlKsTxb0H9Rm+zzC9OtdXJM/ap88roUzG8bfY8R68rjuKq\nVYgyclQeieG5OvimbwE4IHmrCZ/LBtLoYfPC5rheB9Poem7rGYQWAt/33uKZ\nnQNcL6rynou/vqqpNEkDXGy94/DPRk4JQXtMb1icPkPAliLzVLQIplwS4uf+\n/X8ywcxmQjsEkyS51vlg6mdEPs+tSigJo6oQ/b+SNmJrlQEMz4jFg83Ikhm3\n/dFgzv7njsYSqoUlnBfQrNsmGlSLXW6M/E+HZAkuiIzrJppyyMaXtFltzCjG\nMk/uVqEXk4ERrRJ4xHFMKsgzqnaZk2D5ucXssZXuTDhLqFNqp+KzGx06Q+vU\nLo3R0uIz2ysFtq+t0NVppChLruQcefPHiGRChqTGD7mZ3rsEoMBAretUo2gH\na7ye2ziZtGFfCjLdwCqeeez73JYDGFpwkIxdL6jloBZXUflqFERfBK9z9dRJ\nIKqknRevBR17E0OwksvSaJfAjiZyYBgsY7o4zZdVuFH5apg8Ma1v6J+YxifE\nnzFIfsrxOgGkyMIUyEO/Lxwhua+GcQJoExOPYUkSkLu12CBra1SY3z52nXx6\nuuEX\r\n=8aau\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ee-first_1.1.0_1545716022435_0.8634541792035382"},"_hasShrinkwrap":false},"1.1.1":{"name":"@types/ee-first","version":"1.1.1","description":"TypeScript definitions for ee-first","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ee-first","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/ee-first"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"fac98aa12dd35264ebfda974e2b4ccdb969ce5b324ecccadb082fad34a39637b","typeScriptVersion":"4.5","_id":"@types/ee-first@1.1.1","dist":{"integrity":"sha512-0ctsHq5c9uBi6firlHbfQEth/1q7JOhY74sO1mg8Pd5NWfIrg8M7KlUX2yyxk2leymVAipMijvU5AsQn5xjuZg==","shasum":"83f41bc2708baa8672154cf482e5b9a2c85c0570","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/ee-first/-/ee-first-1.1.1.tgz","fileCount":5,"unpackedSize":6154,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLbDIsp3ljOBVNt1J6IGt+gUmZL7BSSNbR0yO8MwZiJgIhAMGGPiNtchYMmH2oOsZwT3Q8fYoYAd34/Ryy0jNwFw+E"}]},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ee-first_1.1.1_1695488972440_0.8355378050575508"},"_hasShrinkwrap":false},"1.1.2":{"name":"@types/ee-first","version":"1.1.2","description":"TypeScript definitions for ee-first","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ee-first","license":"MIT","contributors":[{"name":"BendingBender","githubUsername":"BendingBender","url":"https://github.com/BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/ee-first"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"5baa5e63e635597f5f33b789a16b56ccca1adfb95e57f6b740bddf8125ab15b9","typeScriptVersion":"4.5","_id":"@types/ee-first@1.1.2","dist":{"integrity":"sha512-O0cij20BPP6xWuJJPcW8vjp1C8b+Q36uYnm7CeE798wMPg1FUg1ZzsSCLWHGfIcajfxXfxC0xhfiMo5Y8ZG+xA==","shasum":"760e1224027d0b7a394872a5581fbd16dce696f6","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/ee-first/-/ee-first-1.1.2.tgz","fileCount":5,"unpackedSize":5626,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRR9BpfjSeLPbHE4fGrmhiW7oLhgkVxjz643Zc6sR3ygIgBPW5D2ot37v+cEfWLh3Kwww2ceW9CXQiG4IUUMfpk8k="}]},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ee-first_1.1.2_1697593280411_0.424967250139644"},"_hasShrinkwrap":false},"1.1.3":{"name":"@types/ee-first","version":"1.1.3","description":"TypeScript definitions for ee-first","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ee-first","license":"MIT","contributors":[{"name":"BendingBender","githubUsername":"BendingBender","url":"https://github.com/BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/ee-first"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"613e841161316df4868c25a10f5076c13147f703700a5751f3d05e14d970c1e2","typeScriptVersion":"4.5","_id":"@types/ee-first@1.1.3","dist":{"integrity":"sha512-j0b+mUFtBRe1n3bwikuFmooko73tiy6ArIb2ZjmsstYXdzsSt7MTlldEM39WIXVsElpUWOAiMFQeFpYOGNB4uQ==","shasum":"21026f64075ba37ece4f9e3164048b6cfc573816","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/ee-first/-/ee-first-1.1.3.tgz","fileCount":5,"unpackedSize":5626,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0X1I0IW8J4jvKjP1JWUawxsfqw37fSkknBDenuZn4lgIgOAZ3DUZ85AQPYzEXp//N2aXPqEjiJ6ivqLFTYdSinAY="}]},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ee-first_1.1.3_1699322911409_0.6305730930788855"},"_hasShrinkwrap":false},"1.1.4":{"name":"@types/ee-first","version":"1.1.4","license":"MIT","_id":"@types/ee-first@1.1.4","maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/BendingBender","name":"BendingBender","githubUsername":"BendingBender"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ee-first","dist":{"shasum":"f71d080e2ec000163d2204019bf8159e2464c1e0","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/ee-first/-/ee-first-1.1.4.tgz","fileCount":5,"integrity":"sha512-YrqoZ/6rXQoMkm5xb3sbV3iyHMYKzAdromJYJBSaaazj93gKh+BnSyKxurwnOcUkd1JzsohoM76+6NMhjUGAiQ==","signatures":[{"sig":"MEUCIQDKs9JwNumplALp6RJwN8/UD0EhUJx3NbsD29zVXB8VKAIgAStG/LtEyaE9BZGpqhr0tyWIHLwPiJ3FRegSXpZa6BE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5650,"size":2160},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/ee-first"},"description":"TypeScript definitions for ee-first","directories":{},"_nodeVersion":"24.14.1","dependencies":{"@types/node":"*"},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.3","_npmOperationalInternal":{"tmp":"tmp/ee-first_1.1.4_1775175219880_0.09973523297872666","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"e1fdd374da9c4196c99deb8882515f665bdde214aad163ae86ab5119ba281290","_cnpmcore_publish_time":"2026-04-03T00:13:40.030Z","publish_time":1775175220030,"_source_registry_name":"default"}},"dist-tags":{"latest":"1.1.4","ts3.0":"1.1.0","ts3.1":"1.1.0","ts3.2":"1.1.0","ts3.3":"1.1.0","ts3.4":"1.1.0","ts3.5":"1.1.0","ts3.6":"1.1.0","ts3.7":"1.1.0","ts3.8":"1.1.0","ts3.9":"1.1.0","ts4.0":"1.1.0","ts4.1":"1.1.0","ts4.2":"1.1.0","ts4.3":"1.1.0","ts4.4":"1.1.0","ts4.5":"1.1.3","ts4.6":"1.1.3","ts4.7":"1.1.3","ts4.8":"1.1.3","ts4.9":"1.1.3","ts5.0":"1.1.3","ts5.1":"1.1.3","ts5.2":"1.1.3","ts5.3":"1.1.4","ts5.4":"1.1.4","ts5.5":"1.1.4","ts5.6":"1.1.4","ts5.7":"1.1.4","ts5.8":"1.1.4","ts5.9":"1.1.4","ts6.0":"1.1.4"},"name":"@types/ee-first","time":{"created":"2022-01-28T01:33:51.586Z","1.1.0":"2018-12-25T05:33:42.540Z","modified":"2026-04-03T00:13:53.887Z","1.1.1":"2023-09-23T17:09:32.640Z","1.1.2":"2023-10-18T01:41:20.620Z","1.1.3":"2023-11-07T02:08:31.605Z","1.1.4":"2026-04-03T00:13:40.030Z"},"readme":"# Installation\r\n> `npm install --save @types/ee-first`\r\n\r\n# Summary\r\nThis package contains type definitions for ee-first (https://github.com/jonathanong/ee-first).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ee-first.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ee-first/index.d.ts)\r\n````ts\r\n/// <reference types=\"node\" />\n\nimport { EventEmitter } from \"events\";\n\nexport = first;\n\n/**\n * Get the first event in a set of event emitters and event pairs, then clean up after itself.\n * Invoke `listener` on the first event from the list specified in `eventSpec`.\n *\n * @param eventSpec Array of arrays, with each array in the format `[ee, ...event]`.\n * @param listener Will be called only once, the first time any of the given events are emitted.\n * If `error` is one of the listened events, then if that fires first, the `listener` will be given the `err` argument.\n * `listener`'s arguments:\n * - `err`: the first argument emitted from an error event, if applicable\n * - `ee`: the event emitter that fired\n * - `event`: the string event name that fired\n * - `args`: an array of the arguments that were emitted on the event\n */\ndeclare function first<TEmitter extends EventEmitter>(\n    eventSpec: Array<[TEmitter, ...string[]]>,\n    listener: first.Listener<TEmitter>,\n): first.Thunk<TEmitter>;\n\ndeclare namespace first {\n    type Listener<TEmitter extends EventEmitter> = (\n        err: any,\n        ee: TEmitter,\n        event: string,\n        args: any[],\n    ) => void;\n\n    interface Thunk<TEmitter extends EventEmitter> {\n        (listener: Listener<TEmitter>): void;\n\n        /**\n         * The group of listeners can be cancelled before being invoked and have all the event listeners removed\n         * from the underlying event emitters.\n         */\n        cancel(): void;\n    }\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Fri, 03 Apr 2026 00:13:39 GMT\r\n * Dependencies: [@types/node](https://npmjs.com/package/@types/node)\r\n\r\n# Credits\r\nThese definitions were written by [BendingBender](https://github.com/BendingBender).","users":{}}