{"_id":"@jcoreio/typed-event-emitter","_rev":"35-65a43a9f6c2a222daa77c6e40376405a","name":"@jcoreio/typed-event-emitter","dist-tags":{"latest":"1.3.1"},"versions":{"1.0.0":{"name":"@jcoreio/typed-event-emitter","version":"1.0.0","keywords":["skeleton"],"author":{"name":"Andy Edwards"},"license":"MIT","_id":"@jcoreio/typed-event-emitter@1.0.0","maintainers":[{"name":"cbfx","email":"chrisburrell@gmail.com"},{"name":"eladendorf","email":"eladendorf@gmail.com"},{"name":"jedwards1211","email":"jedwards@fastmail.com"},{"name":"jrmclaurin","email":"npm@jcore.io"},{"name":"matthicks05","email":"matthicks05@gmail.com"},{"name":"ndisidore","email":"ndisidore@pason.com"},{"name":"prudhvitella","email":"prudhvitella@gmail.com"},{"name":"samstav","email":"smlstvnh@gmail.com"}],"homepage":"https://github.com/jcoreio/typed-event-emitter#readme","bugs":{"url":"https://github.com/jcoreio/typed-event-emitter/issues"},"nyc":{"exclude":["commitlint.config.js"],"include":["*.js"]},"dist":{"shasum":"6ebd3e0c1a6423a77ad9964e779cf156ae65c992","tarball":"https://registry.npmjs.org/@jcoreio/typed-event-emitter/-/typed-event-emitter-1.0.0.tgz","fileCount":7,"integrity":"sha512-IGLRp2RfxSsO0iPEGu/QtxWH/NxCaUxIiWvq0HGwxINvk9L1oAB+h9RNjZPwLBeqsivwiY9jvAZKQIbKNxIbXw==","signatures":[{"sig":"MEUCIQDALK9BEAiViCR9/XXDshx5uMKikeraczRE1AFQ3FS/cAIgbUzSlGpevzq2BUU5OZM8R143W2UOO/VJ9Uy4D0VKkas=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":180939},"main":"index.js","config":{"mocha":"./test/**/*.js","commitizen":{"path":"cz-conventional-changelog"}},"gitHead":"6b00536ab9f12ac4288fbb114d4ce65e5dbd7d2b","scripts":{"flow":"flow","lint":"eslint *.js test --cache","test":"NODE_ENV=production BABEL_ENV=test nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha","codecov":"nyc report --reporter=text-lcov > coverage.lcov; codecov","prepush":"npm test","lint:fix":"eslint --fix *.js test --cache","commitmsg":"commitlint -e $GIT_PARAMS","precommit":"npm run lint && flow","flow:watch":"flow-watch -e js,js.flow,flowconfig --ignore lib/ --ignore node_modules/ --watch .flowconfig --watch *.js --watch test/","lint:watch":"esw --watch *.js test --cache","test:watch":"mocha --watch $npm_package_config_mocha","flow:coverage":"for file in *.js test/**.js; do echo $file; flow coverage $file; done","open:coverage":"open coverage/lcov-report/index.html","prepublishOnly":"npm run lint && flow && npm test","semantic-release":"semantic-release","travis-deploy-once":"travis-deploy-once"},"_npmUser":{"name":"jedwards1211","email":"jedwards@fastmail.com"},"repository":{"url":"git+https://github.com/jcoreio/typed-event-emitter.git","type":"git"},"_npmVersion":"5.6.0","description":"fully type-safe EventEmitter flow declaration","directories":{},"_nodeVersion":"8.9.4","_hasShrinkwrap":false,"devDependencies":{"nyc":"^11.4.1","chai":"^4.1.2","husky":"^0.14.3","mocha":"^5.0.0","eslint":"^4.16.0","codecov":"^3.0.0","flow-bin":"^0.65.0","istanbul":"^0.4.5","flow-watch":"^1.1.1","eslint-watch":"^3.1.3","@commitlint/cli":"^6.0.2","semantic-release":"^12.4.1","travis-deploy-once":"^4.3.3","eslint-plugin-flowtype":"^2.42.0","@jedwards1211/eslint-config":"^2.0.0","@commitlint/config-conventional":"^6.0.2","@jedwards1211/eslint-config-flow":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/typed-event-emitter_1.0.0_1518121225085_0.7246698033017205","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@jcoreio/typed-event-emitter","version":"1.1.0","keywords":["skeleton"],"author":{"name":"Andy Edwards"},"license":"MIT","_id":"@jcoreio/typed-event-emitter@1.1.0","maintainers":[{"name":"jguenth1","email":"jguenth1@trinity.edu"},{"name":"etbci","email":"pasonpower@pason.com"},{"name":"awaseem","email":"npm@aliwaseem.com"},{"name":"anton.biryukov","email":"anton.biryukov@ucalgary.ca"},{"name":"rossjbartlett","email":"rossjbartlett@gmail.com"},{"name":"bgoehringer-pason","email":"brandon.goehringer@energytoolbase.com"},{"name":"brayden-arthur","email":"brayden.arthur@pason.com"},{"name":"mbrigdan","email":"mbrigdan@pason.com"},{"name":"ngutzmann","email":"nathan.gutzmann@pason.com"},{"name":"jrmclaurin","email":"npm@jcore.io"},{"name":"jedwards1211","email":"jedwards@fastmail.com"},{"name":"eladendorf","email":"eladendorf@gmail.com"},{"name":"prudhvitella","email":"prudhvitella@gmail.com"}],"homepage":"https://github.com/jcoreio/typed-event-emitter#readme","bugs":{"url":"https://github.com/jcoreio/typed-event-emitter/issues"},"nyc":{"exclude":["commitlint.config.js"],"include":["*.js"]},"dist":{"shasum":"851126282f43f1db02242827b969912fd29e4b99","tarball":"https://registry.npmjs.org/@jcoreio/typed-event-emitter/-/typed-event-emitter-1.1.0.tgz","fileCount":6,"integrity":"sha512-/jipgciwKe/MpQ1CB1Sx2tuEPDfWH5cJksNrC0XM6cZuVD9b4DgvkCExPD71+R7jAd8I1dK3xoHoGdcJfFscOQ==","signatures":[{"sig":"MEUCIQD1zNFcICUrtoKksbxeioDtrhU+R5sxmnM2gna7uJRdrQIgMBOSvFBh2GjosmBAb+lI2B96YEDA+cOm/e2V5nYrNAU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":336961,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfyXUKCRA9TVsSAnZWagAACG0P/2oSCZozAmOhstF3SKFG\nwqy8Hu6vqiR9tMZ1SAURi4Z89we1GjIUUDEYkspQUzBSWmgBPWrb0r/TkI9g\n53HhYOMAlTJZecxV7HQeEWd52oVYtAQf9agi817vEqPc+ZV5Md4fNzYnie/c\n502RWf6HV+nB/CpoBVI4spvHGwj1rQXmRsm9vQaeXdEcIHl2K50Rey4XsoFJ\nj9+IbgMiFRk/q7kuohJjJe0tkM7vie22X9LCXXaAVOb7kdAh41tUrZAf5Im9\n12/tPO/kaDYUeDDbfswJLs1yiuIwpPCqsUBG4VjHi5iNiQTUkaWf13lq98vi\nQCEPxxqmRwG8AXhMAodgNkhbnLoHBWVbdKk/02q8loaKKnhn1XeN4EVMx8F8\n0FbZs1tMRfQirmrRuh/3m1IwLECq+MlRUEl/6NekZ51ll/LFa0DHMJdpaSoy\nm98aF5cxJ4GDIYZa3rMPpVhcdImwq06uWSZldapkveLhC4MpVedv1uxPuP1A\n+BpwvWzyXpFWVRKNU79GRD+9M8nSi7xWSbfiYUfsvh3PjJ4Fe7WQHZ+TfBBz\nI3wuj0ZCBwJjvhJlyFpPOtigYGsrJVx3+eHOL3ZoEfwROU0yG//iHGvLzbu/\nNGa+UhnXY8AneWFfBk8qhuSszGglQcI8o9ao51h6rDzxX37ARsFYhzXT9Q8E\ntZoh\r\n=fPZC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","husky":{"hooks":{"pre-push":"npm test","commit-msg":"commitlint -e $GIT_PARAMS","pre-commit":"lint-staged && npm run lint"}},"config":{"mocha":"test/configure.js 'test/**/*.js'","commitizen":{"path":"cz-conventional-changelog"}},"gitHead":"a7076af997a7b844fa93bfb0ff69f3677f08fb99","scripts":{"lint":"eslint *.js test --cache","test":"cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha","codecov":"nyc report --reporter=text-lcov > coverage.lcov; codecov","lint:fix":"eslint --fix *.js test --cache","prettier":"prettier --write *.js 'test/**/*.js' *.json *.md","test:debug":"cross-env NODE_ENV=test mocha --inspect-brk $npm_package_config_mocha","test:watch":"cross-env NODE_ENV=test mocha --watch $npm_package_config_mocha","open:coverage":"open coverage/lcov-report/index.html","prepublishOnly":"npm run lint && npm test","prettier:check":"prettier --list-different *.js 'test/**/*.js' *.json *.md","semantic-release":"semantic-release"},"_npmUser":{"name":"jedwards1211","email":"jedwards@fastmail.com"},"prettier":{"semi":false,"singleQuote":true,"trailingComma":"es5"},"renovate":{"major":{"automerge":false},"extends":[":separateMajorReleases",":combinePatchMinorReleases",":ignoreUnstable",":prImmediately",":renovatePrefix",":updateNotScheduled",":preserveSemverRanges",":semanticPrefixFix",":automergeDisabled","group:monorepos"],"automerge":true},"commitlint":{"extends":["@jedwards1211/commitlint-config"]},"repository":{"url":"git+https://github.com/jcoreio/typed-event-emitter.git","type":"git"},"_npmVersion":"6.14.8","description":"fully type-safe EventEmitter flow declaration","directories":{},"lint-staged":{"*.{js,json,css,md}":["prettier --write"]},"_nodeVersion":"12.16.3","dependencies":{"p-timeout":"^3.2.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^11.4.1","chai":"^4.1.2","husky":"^4.3.0","mocha":"^6.2.1","eslint":"^7.10.0","codecov":"^3.7.2","istanbul":"^0.4.5","prettier":"^1.15.1","cross-env":"^5.2.0","lint-staged":"^10.4.0","@commitlint/cli":"^11.0.0","prettier-eslint":"^8.8.2","semantic-release":"^17.1.2","eslint-config-prettier":"^6.12.0","@jedwards1211/eslint-config":"^2.0.0","@commitlint/config-conventional":"^11.0.0","@jedwards1211/commitlint-config":"^1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/typed-event-emitter_1.1.0_1607038218304_0.9066061624725463","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@jcoreio/typed-event-emitter","version":"1.2.0","keywords":["skeleton"],"author":{"name":"Andy Edwards"},"license":"MIT","_id":"@jcoreio/typed-event-emitter@1.2.0","maintainers":[{"name":"avramdodson","email":"avram.dodson@gmail.com"},{"name":"forrest-keller","email":"forrestblackburnkeller@gmail.com"},{"name":"jrmclaurin","email":"npm@jcore.io"},{"name":"jedwards1211","email":"jedwards@fastmail.com"},{"name":"eladendorf","email":"eladendorf@gmail.com"}],"homepage":"https://github.com/jcoreio/typed-event-emitter#readme","bugs":{"url":"https://github.com/jcoreio/typed-event-emitter/issues"},"dist":{"shasum":"8723328c23d0467645b7ca9b907fe6dbb4622ec0","tarball":"https://registry.npmjs.org/@jcoreio/typed-event-emitter/-/typed-event-emitter-1.2.0.tgz","fileCount":7,"integrity":"sha512-kNVu7kB07LQOQu9gGU3VJ3ZoXrOyrXGjeQUivv8IEfsN9X0vGSe/6C7wsKJgDiQZxuhkOvBwy8bCvtHXgkgcMw==","signatures":[{"sig":"MEYCIQD4HKUwrprC6XZCiXTfGxgXEJbvVA7u9AymJcCmJlBXXQIhAPCQMoBLYaFDBgow0uM2VoZfo00TKR9LHKQhx0ceM+vq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5448},"types":"./index.d.ts","engines":{"node":">=16"},"gitHead":"6ee8728b8c30eacb94a0c66555b0159dd9ba8c66","_npmUser":{"name":"jedwards1211","email":"jedwards@fastmail.com"},"repository":{"url":"git+https://github.com/jcoreio/typed-event-emitter.git","type":"git"},"_npmVersion":"9.6.7","description":"fully type-safe EventEmitter flow declaration","directories":{},"sideEffects":false,"_nodeVersion":"20.3.0","dependencies":{"p-timeout":"^3.2.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.3.1","_npmOperationalInternal":{"tmp":"tmp/typed-event-emitter_1.2.0_1697570865148_0.9426868343826316","host":"s3://npm-registry-packages"}},"1.2.1":{"name":"@jcoreio/typed-event-emitter","version":"1.2.1","keywords":["skeleton"],"author":{"name":"Andy Edwards"},"license":"MIT","_id":"@jcoreio/typed-event-emitter@1.2.1","maintainers":[{"name":"avramdodson","email":"avram.dodson@gmail.com"},{"name":"forrest-keller","email":"forrestblackburnkeller@gmail.com"},{"name":"jrmclaurin","email":"npm@jcore.io"},{"name":"jedwards1211","email":"jedwards@fastmail.com"},{"name":"eladendorf","email":"eladendorf@gmail.com"}],"homepage":"https://github.com/jcoreio/typed-event-emitter#readme","bugs":{"url":"https://github.com/jcoreio/typed-event-emitter/issues"},"dist":{"shasum":"88348d0fe718aab7607483f4c1674a5733ee3f08","tarball":"https://registry.npmjs.org/@jcoreio/typed-event-emitter/-/typed-event-emitter-1.2.1.tgz","fileCount":7,"integrity":"sha512-3hrKcFeFdaowDygh6rHhRaQGZLcujyGTOuwUzpAp03n08jRMZ4FgZK1XiFYHMFOFO0XcMD6HZtcCa87ZUiQnhg==","signatures":[{"sig":"MEUCIC97CIjgQOS2Y98D4HMigPYnbhmECuYp56bvpY4IobqFAiEAm4jBqC2V0dF7Gt+9rq69Djwt9ng2pAJzg/mQuR/yi8M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5495},"main":"index.js","types":"index.d.ts","engines":{"node":">=16"},"gitHead":"516972896deb222a7ed5830a129f720c8d67a818","_npmUser":{"name":"jedwards1211","email":"jedwards@fastmail.com"},"repository":{"url":"git+https://github.com/jcoreio/typed-event-emitter.git","type":"git"},"_npmVersion":"9.6.7","description":"fully type-safe EventEmitter flow declaration","directories":{},"sideEffects":false,"_nodeVersion":"20.3.0","dependencies":{"p-timeout":"^3.2.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.3.1","_npmOperationalInternal":{"tmp":"tmp/typed-event-emitter_1.2.1_1697570966699_0.552217736760583","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@jcoreio/typed-event-emitter","version":"1.3.0","keywords":["skeleton"],"author":{"name":"Andy Edwards"},"license":"MIT","_id":"@jcoreio/typed-event-emitter@1.3.0","maintainers":[{"name":"gravitate1838","email":"karnpmjcore@malhotra.cc"},{"name":"avramdodson","email":"avram.dodson@gmail.com"},{"name":"forrest-keller","email":"forrestblackburnkeller@gmail.com"},{"name":"jrmclaurin","email":"npm@jcore.io"},{"name":"jedwards1211","email":"jedwards@fastmail.com"},{"name":"eladendorf","email":"eladendorf@gmail.com"}],"homepage":"https://github.com/jcoreio/typed-event-emitter#readme","bugs":{"url":"https://github.com/jcoreio/typed-event-emitter/issues"},"dist":{"shasum":"33d83843a7fd3be141df8f3de457a251568710e9","tarball":"https://registry.npmjs.org/@jcoreio/typed-event-emitter/-/typed-event-emitter-1.3.0.tgz","fileCount":7,"integrity":"sha512-4ckDg7eQuivUZ4cJESZ337PGCNPQWEWD7dx7KCAdm+R7Ig+qJLPthdk7Q+3Ya5k9LXjB6OSjCzzLDaXcbEmG7w==","signatures":[{"sig":"MEQCIEQQWM3s3A8+4MyMitIC48QKpSSzoWyUxfot0k9TTp9xAiBVUqIr8W2PD6VVqCJSbMMO7s1oqcusvC9JS4Aylw1Uzw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7390},"main":"index.js","types":"index.d.ts","engines":{"node":">=16"},"gitHead":"0d8327eb0ede5f8a1589b07aee8845c8c334383b","_npmUser":{"name":"jedwards1211","email":"jedwards@fastmail.com"},"repository":{"url":"git+https://github.com/jcoreio/typed-event-emitter.git","type":"git"},"_npmVersion":"9.6.7","description":"fully type-safe EventEmitter flow declaration","directories":{},"sideEffects":false,"_nodeVersion":"20.3.0","dependencies":{"p-event":"^4.2.0","p-timeout":"^3.2.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.3.1","_npmOperationalInternal":{"tmp":"tmp/typed-event-emitter_1.3.0_1727811076859_0.5102687065370937","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"@jcoreio/typed-event-emitter","version":"1.3.1","keywords":["skeleton"],"author":{"name":"Andy Edwards"},"license":"MIT","_id":"@jcoreio/typed-event-emitter@1.3.1","maintainers":[{"name":"gravitate1838","email":"karnpmjcore@malhotra.cc"},{"name":"avramdodson","email":"avram.dodson@gmail.com"},{"name":"forrest-keller","email":"forrestblackburnkeller@gmail.com"},{"name":"jrmclaurin","email":"npm@jcore.io"},{"name":"jedwards1211","email":"jedwards@fastmail.com"},{"name":"eladendorf","email":"eladendorf@gmail.com"}],"homepage":"https://github.com/jcoreio/typed-event-emitter#readme","bugs":{"url":"https://github.com/jcoreio/typed-event-emitter/issues"},"dist":{"shasum":"634bb11d0be5b30a906cdd969c63288773274c65","tarball":"https://registry.npmjs.org/@jcoreio/typed-event-emitter/-/typed-event-emitter-1.3.1.tgz","fileCount":7,"integrity":"sha512-v1w7ITajwdmyX4NfPxi5BcfSEg4616abLGG8site1g00J+LSpn616rVreEypz3SV2pczPnoRnk5xscCKfOgYmQ==","signatures":[{"sig":"MEYCIQDp48RrrzNbYfCG9rB+nDR6bh0+Af5QJTz0cYuRkdChGAIhAMuwlJVTwyd8THPZO1eP+p9xtf7Y0MXnPy0PxMovgl5z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7392},"main":"index.js","types":"index.d.ts","engines":{"node":">=16"},"gitHead":"2fe98430cf1cd2b9c1605652aa68cf6a7a6ff9bc","_npmUser":{"name":"jedwards1211","email":"jedwards@fastmail.com"},"repository":{"url":"git+https://github.com/jcoreio/typed-event-emitter.git","type":"git"},"_npmVersion":"9.6.7","description":"fully type-safe EventEmitter flow declaration","directories":{},"sideEffects":false,"_nodeVersion":"20.3.0","dependencies":{"p-event":"^4.2.0","p-timeout":"^3.2.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@8.3.1","_npmOperationalInternal":{"tmp":"tmp/typed-event-emitter_1.3.1_1727813652227_0.6506493696270379","host":"s3://npm-registry-packages"}}},"time":{"created":"2018-02-08T20:20:25.084Z","modified":"2026-02-25T04:50:30.459Z","1.0.0":"2018-02-08T20:20:26.079Z","1.1.0":"2020-12-03T23:30:18.462Z","1.2.0":"2023-10-17T19:27:45.370Z","1.2.1":"2023-10-17T19:29:26.991Z","1.3.0":"2024-10-01T19:31:17.055Z","1.3.1":"2024-10-01T20:14:12.426Z"},"bugs":{"url":"https://github.com/jcoreio/typed-event-emitter/issues"},"author":{"name":"Andy Edwards"},"license":"MIT","homepage":"https://github.com/jcoreio/typed-event-emitter#readme","keywords":["skeleton"],"repository":{"url":"git+https://github.com/jcoreio/typed-event-emitter.git","type":"git"},"description":"fully type-safe EventEmitter flow declaration","maintainers":[{"email":"npm@jcore.io","name":"jrmclaurin"},{"email":"jedwards@fastmail.com","name":"jedwards1211"},{"email":"eladendorf@gmail.com","name":"eladendorf"},{"email":"avram.dodson@gmail.com","name":"avramdodson"}],"readme":"# @jcoreio/typed-event-emitter\n\n[![CircleCI](https://circleci.com/gh/jcoreio/typed-event-emitter.svg?style=svg)](https://circleci.com/gh/jcoreio/typed-event-emitter)\n[![Coverage Status](https://codecov.io/gh/jcoreio/typed-event-emitter/branch/master/graph/badge.svg)](https://codecov.io/gh/jcoreio/typed-event-emitter)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n[![npm version](https://badge.fury.io/js/%40jcoreio%2Ftyped-event-emitter.svg)](https://badge.fury.io/js/%40jcoreio%2Ftyped-event-emitter)\n\nfully type-safe `EventEmitter` flow declaration\n\n## Usage\n\n```sh\nnpm install --save @jcoreio/typed-event-emitter\n```\n\n```js\n// @flow\n\nimport EventEmitter from '@jcoreio/typed-event-emitter'\n\nfunction createEmitter(): EventEmitter<{\n  eventA: [string],\n  eventB: [string, number],\n}>\n\nconst emitter = createEmitter()\n\nemitter.on('eventA', (foo: string) => {...})\nemitter.on('eventB', (foo: string, bar: number) => {...})\n\nemitter.emit('eventA', 'foo')\nemitter.emit('eventB', 'foo', 1)\n```\n","readmeFilename":"README.md"}