{"_id":"@dekkai/event-emitter","_rev":"4-2919855248ec60d91e3a0ca190a2e753","name":"@dekkai/event-emitter","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@dekkai/event-emitter","version":"1.0.0","description":"An event emitter base class that supports omni-listeners. Supports browsers, node and deno.","main":"build/lib/mod.js","repository":{"type":"git","url":"https://github.com/dekkai-csv/event-emitter.git"},"author":{"name":"Dario Segura darionco.dev@gmail.com"},"license":"MIT","type":"module","keywords":["event-emitter","event","emitter","browser","deno","node"],"scripts":{"clean":"rimraf build","build":"run-p build:**","build:scripts":"rollup --config","build:types":"tsc --declaration --emitDeclarationOnly --skipLibCheck --outDir ./build/lib","docs":"typedoc --out ./docs ./src --exclude 'node_modules/**/*' --mode file --includeVersion --stripInternal --skipLibCheck","watch":"yarn build --watch","test":"run-s -c build test:**","test:node":"mocha spec/env/node.suite.js","test:browser":"karma start --single-run --browsers ChromeHeadless karma.conf.cjs","test:deno":"deno run --allow-read spec/env/deno.suite.js","lint":"eslint . --ext .js,.ts,.jsx,.tsx","prepack":"run-s clean test lint","pre-push":"run-p pre-push:**","pre-push:lint":"yarn lint","pre-push:test":"yarn test"},"devDependencies":{"@types/node":"^14.0.27","@typescript-eslint/eslint-plugin":"^3.8.0","@typescript-eslint/parser":"^3.8.0","chai":"^4.2.0","eslint":"^7.6.0","globby":"^11.0.0","husky":"^4.2.5","karma":"^5.1.1","karma-chai":"^0.1.0","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","mocha":"^8.1.1","npm-run-all":"^4.1.5","rimraf":"^3.0.2","rollup":"^2.22.1","rollup-plugin-typescript2":"^0.27.0","tslib":"^2.0.0","typedoc":"^0.17.8","typescript":"^3.9.7"},"husky":{"hooks":{"pre-push":"yarn pre-push"}},"licenseText":"MIT License\n\nCopyright (c) 2020 dekkai\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@dekkai/event-emitter@1.0.0","dist":{"shasum":"00a65b60f325ab9f270d791709a1696387d72121","integrity":"sha512-mCn/lU58H89QwwVxXxx424LH4hk6tTWqKsUmMyU6R27n8DVUGtxlogyHfCS8yU1o83rNhEqJYXCaAV874k+iSQ==","tarball":"https://registry.npmjs.org/@dekkai/event-emitter/-/event-emitter-1.0.0.tgz","fileCount":18,"unpackedSize":24722,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfO0n0CRA9TVsSAnZWagAAu9oP/0MDECLmYCBPOmPxYy3D\nJ/IFz92E9sfHv98/1EAa7IYX5eRfxzsC+ZbvNj6Z1V5vuWs+X1sj6xSNjHNU\nFSJiEnSsqsCU0b0w2B8dJc2kw5KVkobmUqL3sHqKB0IuddSbWg39Ej4aXZKx\nWpBN/fyiexIa4u69hz1gGRIx84vAuVnuLf+2oaSNOOaYo5fsqDxCOQ7igY3U\nJEK55il4bLqTmLhpobIrGbSTUvNA5wanKnSwbOrltoLFzPqp0P95B2NHen5M\nKKkKgT5mOdG4sSNP9PqCB083Rfhu+WrttNCioSPAwn+XxyUgSyy/lnVB20r7\nRGjqeZlbjFWfICRxEhMGvcbSG/5tefowQSa7e6BnlJy+5Tu+Q1hl2xbu5meh\n3EmF482R3rasEBtS5J8jTqMS5HH0LL4kEj2oqfkCTRV36DG0hCB6mPDcMtmR\nQp6rVU7SqR9WTbpL0Avgqu4+KZKmGDSrLVVBMCmnJx5JMBx1z5tFWBpBK/+P\nfBO6KHOijWdovZtFOREVbtdNRIgeYM/F2FaNVSfY67DGsa6DCSvMXHeCMxVC\nzNRAMfWzhCyQWDfxdB57aDlNVsvgWaMEt9MvC+HzUUoAcN2tSonl8qMZQxjX\niKPcdzlCAoLEABF1VY/IuC53O3zfQ++duiP3sAcbXbJfJvyTd8wFLJ1Zns2j\nTaYT\r\n=VA5E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEwWEaOBYkgdiBTQ/WULWv++77r0VZfB9/kAZ3s4OhOlAiEAvqgRhJ4d+E9yZPzN3+ZMfX4dzb34cjLQj2NaIK+R4FM="}]},"maintainers":[{"name":"darionco","email":"darionco.dev@gmail.com"}],"_npmUser":{"name":"darionco","email":"darionco.dev@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-emitter_1.0.0_1597721075911_0.14791175282768765"},"_hasShrinkwrap":false},"1.0.1":{"name":"@dekkai/event-emitter","version":"1.0.1","description":"An event emitter base class that supports omni-listeners. Supports browsers, node and deno.","main":"build/lib/mod.js","repository":{"type":"git","url":"https://github.com/dekkai-csv/event-emitter.git"},"author":{"name":"Dario Segura darionco.dev@gmail.com"},"license":"MIT","type":"module","keywords":["event-emitter","event","emitter","browser","deno","node"],"scripts":{"clean":"rimraf build","build":"run-p build:**","build:scripts":"rollup --config","build:types":"tsc --declaration --emitDeclarationOnly --skipLibCheck --outDir ./build/lib","docs":"typedoc --out ./docs ./src --exclude 'node_modules/**/*' --mode file --includeVersion --stripInternal --skipLibCheck","watch":"yarn build --watch","test":"run-s -c build test:**","test:node":"mocha spec/env/node.suite.js","test:browser":"karma start --single-run --browsers ChromeHeadless karma.conf.cjs","test:deno":"deno run --allow-read spec/env/deno.suite.js","lint":"eslint . --ext .js,.ts,.jsx,.tsx","prepack":"run-s clean test lint","pre-push":"run-p pre-push:**","pre-push:lint":"yarn lint","pre-push:test":"yarn test"},"devDependencies":{"@types/node":"^14.0.27","@typescript-eslint/eslint-plugin":"^3.8.0","@typescript-eslint/parser":"^3.8.0","chai":"^4.2.0","eslint":"^7.6.0","globby":"^11.0.0","husky":"^4.2.5","karma":"^5.1.1","karma-chai":"^0.1.0","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","mocha":"^8.1.1","npm-run-all":"^4.1.5","rimraf":"^3.0.2","rollup":"^2.22.1","rollup-plugin-typescript2":"^0.27.0","tslib":"^2.0.0","typedoc":"^0.17.8","typescript":"^3.9.7"},"husky":{"hooks":{"pre-push":"yarn pre-push"}},"licenseText":"MIT License\n\nCopyright (c) 2020 dekkai\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@dekkai/event-emitter@1.0.1","dist":{"shasum":"bf6047ee4416e1e13d98e7e8e31ef074f8c39ffc","integrity":"sha512-Xtn1QOEwp6R5AvY2kheiCT5ET1xw3G7Q7OTM6KosHMHs6WtDIQ4KRvzWpfvIGKTq4JJDxSrX76BKk1AkZa/www==","tarball":"https://registry.npmjs.org/@dekkai/event-emitter/-/event-emitter-1.0.1.tgz","fileCount":18,"unpackedSize":24913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPIqxCRA9TVsSAnZWagAAhu4P/jJOME0GlmvRZpOQMXAU\nKucoOSOdiY2DbP6t9ZTVu0JB9EQDn/j905QL/Ve092HoqBbpwl6knyiETEip\neZrXGIAccV+yKw6NAxO+vaRnX45ig9Dnxztj4fbHmcAiXIwg/IoBeLRLrCqe\nK4GlmaXgT1aHmjvb7aNKyGnLrU/dO+0zR4hzFUg5akcOHfJF1U4/ycD8byit\nCtOfq40R2e4081XanJieAcr5o8qSBkhGMEY8k+xbTVgZ2RiCaruybeN8jLAW\n1+0z+0Vm2wVgtlNeXRY6xw7h7xLI4QgDTTIqRUGLNZorRRTw9iUbLaL//6UL\nmvjA+2CKLqZ/snnD0cKGfsqanH6/OEvDo2c4pVZXdsPcVTcw4ll0WrWnqDSE\nOH7WbM3oAJZ0myPi8QgDDtwVDi+zT9iwlAaAuQV7gQV2XGVTN5H+8DnAm7Eh\n4/Btmq1sJss8zsuhQ7Rhkan4SoC++yBVmzuEX5atxNSKMra5Bdx+tkpFV09H\nIRwx4RHnGFtwPxArT13WxbjTZdBS+WabmXCBRSyimil/yzipNCGIZ8XkrcEk\nqBPt3wwX7HL3hYMxWY2YunasunEOT81C5dbqa/TyBoMp/3x8HM7+NzSm4rbd\n14kIql1f2X9eskPiA+QNvOCHcbNnmK4DfZ8oeHfOgSvHK+6MpabDTAd6OWnU\n8r3A\r\n=Wcyn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCNUJRCL+mCsm4u6/2iW1oZLBZKpUwa8CM4CeE8I+/cVgIhAKRpRHyqRhC2nIU7L0OmfDwsc792+sVZuxTLFSys83c4"}]},"maintainers":[{"name":"darionco","email":"darionco.dev@gmail.com"}],"_npmUser":{"name":"darionco","email":"darionco.dev@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-emitter_1.0.1_1597803184912_0.043915150812895876"},"_hasShrinkwrap":false},"1.0.2":{"name":"@dekkai/event-emitter","version":"1.0.2","description":"An event emitter base class that supports omni-listeners. Supports browsers, node and deno.","main":"build/lib/mod.js","repository":{"type":"git","url":"https://github.com/dekkai-csv/event-emitter.git"},"author":{"name":"Dario Segura darionco.dev@gmail.com"},"license":"MIT","type":"module","keywords":["event-emitter","event","emitter","browser","deno","node"],"scripts":{"clean":"rimraf build","build":"run-p build:**","build:scripts":"rollup --config","build:types":"tsc --declaration --emitDeclarationOnly --skipLibCheck --outDir ./build/lib","docs":"typedoc --out ./docs ./src --exclude 'node_modules/**/*' --mode file --includeVersion --stripInternal --skipLibCheck","watch":"yarn build --watch","test":"run-s -c build test:**","test:node":"mocha spec/env/node.suite.js","test:browser":"karma start --single-run --browsers ChromeHeadless karma.conf.cjs","test:deno":"deno run --allow-read spec/env/deno.suite.js","lint":"eslint . --ext .js,.ts,.jsx,.tsx","prepack":"run-s clean test lint","pre-push":"run-p pre-push:**","pre-push:lint":"yarn lint","pre-push:test":"yarn test"},"devDependencies":{"@types/node":"^14.0.27","@typescript-eslint/eslint-plugin":"^3.8.0","@typescript-eslint/parser":"^3.8.0","chai":"^4.2.0","eslint":"^7.6.0","globby":"^11.0.0","husky":"^4.2.5","karma":"^5.1.1","karma-chai":"^0.1.0","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","mocha":"^8.1.1","npm-run-all":"^4.1.5","rimraf":"^3.0.2","rollup":"^2.22.1","rollup-plugin-typescript2":"^0.27.0","tslib":"^2.0.0","typedoc":"^0.17.8","typescript":"^3.9.7"},"husky":{"hooks":{"pre-push":"yarn pre-push"}},"licenseText":"MIT License\n\nCopyright (c) 2020 dekkai\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@dekkai/event-emitter@1.0.2","dist":{"shasum":"a4b0a164ca4061ac32f980794533412514809c76","integrity":"sha512-3B2qGOiMn85/QcYy0NEbF4XdGS9SXZEuQVXEfePwbew655iNDJmp02a4rBjYyrfpLYwqnYAtKAWyWQ//VY0ALQ==","tarball":"https://registry.npmjs.org/@dekkai/event-emitter/-/event-emitter-1.0.2.tgz","fileCount":18,"unpackedSize":25091,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPUInCRA9TVsSAnZWagAAFiYQAKFkDDcomK7e1H9Rfv4J\n6tc/liIWwFyMy4rv3QQ94c7w16NGLHvk7G40BIuc66alEz4VWjhB8ZzgUYM1\nb5Dv33XJmQ0UEtHf6DhTZWXtGqJqxWKxav/0XwzepjGf5XCsI+mYhWGDPtM7\n2QxvNkBY1ITV8ou9ZFaQZs00IAq5YK9IfOOF9LuFNU/gi+ynVhmrnN8C24TX\n5CQ5+jONEbHdS6pSnXvyVTCdal3Ta8xXaqvhqzJ7LvDtW1y3kzvMloOwtdzK\ndTtv2nw/jyCNRiDYGhW695DkQblXkkH2rIHtmRSLGr3QidOB+vHGigT47Lb3\njUD9Z15qCgCOGh2j+8PTtfLTI5P4b1BNdQKCM5sTKSseodKVRw5wAU1Uh1Y/\nnaKdC3agzl0IJTOCOi9S0XofknEg1CLqW8itBHjyJAa4harCe8Nz3iEDLEsO\nVtqrwhfukgQWwYCcIVpS/REMx2zv4nhTToShVzo7TnYNyF345YPKkVqNiROU\n8ufEbztwuE4ulpui4sVw+51DnDDwQbP4xv5YoDoK73TiaXaMyahYva5SXrzo\nCtOtD8HbLMeEAlHGhaUA6zuB8rimthzKoHDNamLkoPE2CfUGQPQX+hD/WjLg\nQpl1f85puaLfn1yMYmnLD1lOpsNy5YTe1yE2lWt7G1L5zhW+W6nL0EDtdzlt\n70Ff\r\n=8X7f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH4zhTD3yDe9rSslwQiytOjuws0UK7BS0Tl3IeaGa7LtAiEAsVjjTDvdSDIQPBah33v5Uxngrym9cmU1peuuEDiDYTs="}]},"maintainers":[{"name":"darionco","email":"darionco.dev@gmail.com"}],"_npmUser":{"name":"darionco","email":"darionco.dev@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-emitter_1.0.2_1597850150889_0.4319221822771193"},"_hasShrinkwrap":false},"1.1.0":{"name":"@dekkai/event-emitter","version":"1.1.0","description":"An event emitter base class that supports omni-listeners. Supports browsers, node and deno.","main":"build/lib/mod.js","repository":{"type":"git","url":"https://github.com/dekkai-data/event-emitter.git"},"author":{"name":"Dario Segura darionco.dev@gmail.com"},"license":"MIT","type":"module","keywords":["event-emitter","event","emitter","browser","deno","node"],"scripts":{"clean":"rimraf build","build":"run-p build:**","build:scripts":"rollup --config","build:types":"tsc --declaration --emitDeclarationOnly --skipLibCheck --outDir ./build/lib","docs":"typedoc --out ./docs ./src --exclude 'node_modules/**/*' --mode file --includeVersion --stripInternal --skipLibCheck","watch":"yarn build --watch","test":"run-s -c build test:**","test:node":"mocha spec/env/node.suite.js","test:browser":"karma start --single-run --browsers ChromeHeadless karma.conf.cjs","test:deno":"deno run --allow-read spec/env/deno.suite.js","lint":"eslint . --ext .js,.ts,.jsx,.tsx","prepack":"run-s clean test lint","pre-push":"run-p pre-push:**","pre-push:lint":"yarn lint","pre-push:test":"yarn test"},"devDependencies":{"@types/node":"^14.0.27","@typescript-eslint/eslint-plugin":"^3.8.0","@typescript-eslint/parser":"^3.8.0","chai":"^4.2.0","eslint":"^7.6.0","globby":"^11.0.0","husky":"^4.2.5","karma":"^5.1.1","karma-chai":"^0.1.0","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","mocha":"^8.1.1","npm-run-all":"^4.1.5","rimraf":"^3.0.2","rollup":"^2.22.1","rollup-plugin-typescript2":"^0.27.0","tslib":"^2.0.0","typedoc":"^0.17.8","typescript":"^3.9.7"},"husky":{"hooks":{"pre-push":"yarn pre-push"}},"licenseText":"MIT License\n\nCopyright (c) 2020 dekkai\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@dekkai/event-emitter@1.1.0","dist":{"shasum":"82bf46f9b8cc1443320567f57f377dc2cc8f007f","integrity":"sha512-wQkAuh4p96ZZvCuOA1XRi8FiYE2Nbsozzv8y8mRq2JwN7fSJS0DtMCsLvfcpEF4wdFo2Hum0u3vpxoAv0rY5Eg==","tarball":"https://registry.npmjs.org/@dekkai/event-emitter/-/event-emitter-1.1.0.tgz","fileCount":18,"unpackedSize":33845,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfo6fkCRA9TVsSAnZWagAABkYP/RybES9Xor1kcUaSd4nL\nQfU9RNLZ6CqeyMpACNsKBxBEYcNqkd3uIfIge29ltqSRaogMicuyD83Xtxmk\n0d3n8QgTsB5UuNLftb2qwWsbOf1ueNvyNbWLdEzhmbZ1CUN7c3xwtURGxCIr\nhUOIhFDdpM4YtLg07L0emxNiFwZkMc7RJx8lRhnTHEIhRRfWlYaJfOaq4d44\nA7GY/jvXFuqlJ+WfPQhhFzI6AWxQZA0jy7eahp5AS5XAv3/LimuR5/BxVlyM\nRJnxscn8lkwtosADWhne6Q5moutMwdKALGCig0Tdpk4c37OS1GhS1z18uEyQ\nvh4tW7r5JI7d+JoGFsDaoCrjVoGyc0oDGIEvLjW0PkF05Fgtip6lWhFmTO7u\n9KSGMetF8GWpWFkLpe4CLeR5tBGrgIuJ+ChL0wg/eE+fGbVtyEf1Gn7WYcKU\nAlfDkniP/M/vQyhZn4IgHsrBeYMtGONr8RRVF49FVz25jVuN76hvpXgixdGK\nb6Egf8k/mLL4dXyE2FA1cZ/jdDNpc/a2vTiREL/bIDF8M8CM7/vEXuYl2BD2\nxAHJFTZdK91aiXmjFEWKXFqi6OleelPUFUhrbJop8+V0HqzRMn1eTvJMAuaZ\n+qFu+4W5sGGPFEKrV9BI8UMkMr18/RWcVP+ZxIx6egObLFCjK4/VHeMW6jCx\nmvQi\r\n=J2kC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIChwOWmRDMpL17B7FIZTy1XjreMa3rBgH7sIVWTw8frEAiEAmmHFz/3fXweYZF6tbaVd0ihA8Ebu9dIrm+tz/Lxlz1E="}]},"_npmUser":{"name":"darionco","email":"darionco.dev@gmail.com"},"directories":{},"maintainers":[{"name":"darionco","email":"darionco.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-emitter_1.1.0_1604560867737_0.725691885263279"},"_hasShrinkwrap":false}},"time":{"created":"2020-08-18T03:24:35.658Z","1.0.0":"2020-08-18T03:24:36.060Z","modified":"2022-04-05T03:40:17.059Z","1.0.1":"2020-08-19T02:13:05.065Z","1.0.2":"2020-08-19T15:15:51.002Z","1.1.0":"2020-11-05T07:21:07.870Z"},"maintainers":[{"name":"darionco","email":"darionco.dev@gmail.com"}],"description":"An event emitter base class that supports omni-listeners. Supports browsers, node and deno.","keywords":["event-emitter","event","emitter","browser","deno","node"],"repository":{"type":"git","url":"https://github.com/dekkai-data/event-emitter.git"},"author":{"name":"Dario Segura darionco.dev@gmail.com"},"license":"MIT","readme":"<div align=\"center\">\n\n![@dekkai/event-emitter](https://raw.githubusercontent.com/dekkai-data/assets/master/svg/dekkai_event-emitter_banner_light.svg)  \n![browser](https://github.com/dekkai-data/event-emitter/workflows/browser/badge.svg)\n![node](https://github.com/dekkai-data/event-emitter/workflows/node/badge.svg)\n![deno](https://github.com/dekkai-data/event-emitter/workflows/deno/badge.svg)\n![opinion](https://img.shields.io/badge/badges_are-meaningless-blue)\n\n</div>\n\n# @dekkai/event-emitter \n\nAn event emitter class, supports omni-listeners and symbol events. Tested on browsers, node.js and deno.\n\nCheck out the full [API Documentation](https://dekkai-data.github.io/event-emitter/)\n\n## Installation\n\n**Browser/NodeJS**\n```shell script\n$ yarn add @dekkai/event-emitter\n```\n\n**Deno**\n```javascript\n// import from directly from a CDN, like unpkg.com\nimport {EventEmitter} from 'https://unpkg.com/@dekkai/event-emitter';\n```\n\n## Usage\n\n```javascript\n// import EventEmitter\nimport {EventEmitter} from '@dekkai/event-emitter';\n\n// can be extended\nclass MyEmitter extends EventEmitter {\n    // ...\n}\n\n// used as a mixin\nconst MyEmitter = EventEmitter.mixin(BaseClass);\n\n// or injected in the inheritance chain\nclass MyEmitter extends EventEmitter.mixin(BaseClass) {\n    // ...\n}\n\n// instantiate the emitter\nconst emitter = new MyEmitter();\n\n// create an event handler\nconst handler = (evt, num0, num1) => console.log(`Event [${evt.toString()}] result: ${num0 + num1}`);\n\n// register the handler\nemitter.on('add', handler);\n\n// events can also be symbols\nconst symbolEvent = Symbol('add-symbol');\nemitter.on(symbolEvent, handler);\n\n// emit events\nemitter.emit('add', 4, 6); // Event [add] result: 10\nemitter.emit(symbolEvent, 12, 8); // Event [Symbol(add-symbol)] result: 20\n\n// remove previously added listeners\nemitter.off('add', handler);\nemitter.off(symbolEvent, handler);\n\n// use omni-listeners to catch all events, register them using the `omniEvent` static property\nconst omniHandler = evt => console.log(evt.toString());\nemitter.on(MyEmitter.omniEvent, omniHandler);\n\n// the omni-listener will catch all events\nemitter.emit('hello'); // hello\nemitter.emit(Symbol('random symbol')); // Symbol(random symbol)\n\n// removing omni-listeners works the same way as with regular listeners, but using the `omniEvent`\nemitter.off(MyEmitter.omniEvent, omniHandler);\n```\n\nCheck out the full [API Documentation](https://dekkai-data.github.io/event-emitter/)\n","readmeFilename":"README.md"}