{"_id":"more-events","_rev":"9-6079cfbb1965d42ecac13061de86a28a","name":"more-events","description":"A lightweight event emitter","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"more-events","version":"1.0.0","description":"Another emitter sigh.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["emitter","events"],"author":{"name":"Quentin Engles","email":"hollowdoor99@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/hollowdoor/more_events.git"},"gitHead":"49e3a19efa8d4ef523b14055931acb1862e98ab5","bugs":{"url":"https://github.com/hollowdoor/more_events/issues"},"homepage":"https://github.com/hollowdoor/more_events#readme","_id":"more-events@1.0.0","_shasum":"87183a78be13e2b275694979a45c4d67ba353a78","_from":".","_npmVersion":"2.9.0","_nodeVersion":"1.8.4","_npmUser":{"name":"hollowdoor","email":"hollowdoor99@gmail.com"},"maintainers":[{"name":"hollowdoor","email":"hollowdoor99@gmail.com"}],"dist":{"shasum":"87183a78be13e2b275694979a45c4d67ba353a78","tarball":"https://registry.npmjs.org/more-events/-/more-events-1.0.0.tgz","integrity":"sha512-tkAcrRnQqYBQ9b+s+QMlcyufqG4wCo5Mol/YixngBdhm/cXy+Ar7fuCUim6ms86VbAExQb+Y1iKQs4pmLI0wYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICj9SHor0bQ70KbbYbJM4nBpHRJPvyVV8kfOsAvbOTj3AiEAr6UGN/2NxLAXDAWXi2Ci463odpTn8BudVpaJmH1DfDo="}]}},"1.1.0":{"name":"more-events","version":"1.1.0","description":"Another emitter sigh.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["emitter","events"],"author":{"name":"Quentin Engles","email":"hollowdoor99@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/hollowdoor/more_events.git"},"gitHead":"d1b5573ff3e80f463f8f72479b0448b5a8b8ab42","bugs":{"url":"https://github.com/hollowdoor/more_events/issues"},"homepage":"https://github.com/hollowdoor/more_events#readme","_id":"more-events@1.1.0","_shasum":"47418c2e3647cc810ed64703245a98f377034d5e","_from":".","_npmVersion":"2.9.0","_nodeVersion":"1.8.4","_npmUser":{"name":"hollowdoor","email":"hollowdoor99@gmail.com"},"maintainers":[{"name":"hollowdoor","email":"hollowdoor99@gmail.com"}],"dist":{"shasum":"47418c2e3647cc810ed64703245a98f377034d5e","tarball":"https://registry.npmjs.org/more-events/-/more-events-1.1.0.tgz","integrity":"sha512-gMu5+kKJSaBWcKB82SY10qVd7XicJiVpaWaqdnJejjj3DTIsrmzwQjp8JWMtUFKAXN+8jDroaTomRvnURFjiOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH34nlxwZSxah83E0Toz0wbF13w+K/o56XV0NPwQYRbFAiAeVX+ia45S3oOI4vUMeZJQINPEcoe1J5ybUEJhOQg6BQ=="}]}},"1.2.0":{"name":"more-events","version":"1.2.0","description":"Another emitter sigh.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["emitter","events"],"author":{"name":"Quentin Engles","email":"hollowdoor99@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/hollowdoor/more_events.git"},"gitHead":"edb2aa37d71672e574c98cfbe4ce7670df8563be","bugs":{"url":"https://github.com/hollowdoor/more_events/issues"},"homepage":"https://github.com/hollowdoor/more_events#readme","_id":"more-events@1.2.0","_shasum":"21f4f53e8f7c594c1fdacd874c66e6c0482bb197","_from":".","_npmVersion":"2.9.0","_nodeVersion":"1.8.4","_npmUser":{"name":"hollowdoor","email":"hollowdoor99@gmail.com"},"maintainers":[{"name":"hollowdoor","email":"hollowdoor99@gmail.com"}],"dist":{"shasum":"21f4f53e8f7c594c1fdacd874c66e6c0482bb197","tarball":"https://registry.npmjs.org/more-events/-/more-events-1.2.0.tgz","integrity":"sha512-JwfNcDU/crsK9ukJ5fiFaUC5hxfDSg0FI84Cy/QjIO+eVmhaJ8Unts3XWExmqUfTJ4f3UjXTlscieRNLjVtBjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBkyuN/FTKSZrENWF7TOVwGtwjcsLeNT1a9/qSLu2DIBAiEA8s2F1pOL09p5uKTi1uVjN+v9N0dQUfrBLMVDL5GBmPc="}]}},"1.2.1":{"name":"more-events","version":"1.2.1","description":"Another emitter sigh.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["emitter","events"],"author":{"name":"Quentin Engles","email":"hollowdoor99@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/hollowdoor/more_events.git"},"gitHead":"346a81ea47d4a66fe8c7d417b0e8466251ca9586","bugs":{"url":"https://github.com/hollowdoor/more_events/issues"},"homepage":"https://github.com/hollowdoor/more_events#readme","_id":"more-events@1.2.1","_shasum":"58d44344e7af2010a2e30fb628753b330db3d694","_from":".","_npmVersion":"2.9.0","_nodeVersion":"1.8.4","_npmUser":{"name":"hollowdoor","email":"hollowdoor99@gmail.com"},"maintainers":[{"name":"hollowdoor","email":"hollowdoor99@gmail.com"}],"dist":{"shasum":"58d44344e7af2010a2e30fb628753b330db3d694","tarball":"https://registry.npmjs.org/more-events/-/more-events-1.2.1.tgz","integrity":"sha512-XSaG2JPxXLcpNxpF1sUcEjqUFTs6sJXSnX0zCU4s/Plu4A29Gn9XXQi7Dee46vFxubShhGPLHLQeEq8DqcSJDw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC13W2oeF2lcsBrfVqdYcfw5tjEcRmTUMTUoa1U6wVqJQIgYW1Q+RKgRI6eMtyWE3ejHqD0XHcsK5LLJ7f3+rlCjnw="}]}},"1.3.1":{"name":"more-events","version":"1.3.1","description":"Another emitter sigh.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["emitter","events"],"author":{"name":"Quentin Engles","email":"hollowdoor99@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/hollowdoor/more_events.git"},"gitHead":"48c927a0030e714d899b0cb2fa2221d2baa1fdfd","bugs":{"url":"https://github.com/hollowdoor/more_events/issues"},"homepage":"https://github.com/hollowdoor/more_events#readme","_id":"more-events@1.3.1","_shasum":"c3a5fd4aa6c3fbfb47efc3de0dcb032899214242","_from":".","_npmVersion":"2.9.0","_nodeVersion":"1.8.4","_npmUser":{"name":"hollowdoor","email":"hollowdoor99@gmail.com"},"maintainers":[{"name":"hollowdoor","email":"hollowdoor99@gmail.com"}],"dist":{"shasum":"c3a5fd4aa6c3fbfb47efc3de0dcb032899214242","tarball":"https://registry.npmjs.org/more-events/-/more-events-1.3.1.tgz","integrity":"sha512-9HkGYA6VmEgykW0tkLiYK4FvM7lPiiYFul7L1qwvZ65IWh5A+DNPDrbCm8g7nkkzCbPkPzlFSuoZrE2wGj/FKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDX3zZ1tgpfNYTVmabuz9tw2t+hQC0UMnnXNr2M+L9RgAIgFxr8x1s7NIlF6gVu2y+X456D8AWAIFBn7mnK2357gA4="}]}},"1.3.2":{"name":"more-events","version":"1.3.2","description":"Another emitter sigh.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["emitter","events"],"author":{"name":"Quentin Engles","email":"hollowdoor99@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/hollowdoor/more_events.git"},"gitHead":"1f20007b886a3f21eba4ba8d4ed93422f281179a","bugs":{"url":"https://github.com/hollowdoor/more_events/issues"},"homepage":"https://github.com/hollowdoor/more_events#readme","_id":"more-events@1.3.2","_shasum":"4246ec5f2ecd68074696f39146b8b2febc2dd027","_from":".","_npmVersion":"2.9.0","_nodeVersion":"1.8.4","_npmUser":{"name":"hollowdoor","email":"hollowdoor99@gmail.com"},"maintainers":[{"name":"hollowdoor","email":"hollowdoor99@gmail.com"}],"dist":{"shasum":"4246ec5f2ecd68074696f39146b8b2febc2dd027","tarball":"https://registry.npmjs.org/more-events/-/more-events-1.3.2.tgz","integrity":"sha512-J+XjO5+pgBziU+2rHd0IGIh5bvinCNuPHeqiA9CHCSpF0bdbVa/dwHZBTKjDS+kOFWlquQfNHF/b/kI8mR/VJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4e53aoWlb8DyOihDW1FSHJsDSb8BVqdnytqKKhoBYKwIgdGeVl1bAGtzs49OVJfig12O6Eku0uiNP+bWHoOX5xFg="}]}},"2.0.0":{"name":"more-events","version":"2.0.0","description":"A lightweight event emitter","main":"dist/bundle.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"ebam"},"keywords":["emitter,events","emitter","events"],"author":{"name":"Quentin Engles","email":"hollowdoor99@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/hollowdoor/more_events.git"},"ebam":{"entry":"src/index.js","transforms":{"dangerousForOf":false,"dangerousTaggedTemplateString":false},"test":{"dest":"test/code.js","src":"test/src.js"}},"jsnext:main":"dist/bundle.es.js","module":"dist/bundle.es.js","gitHead":"79e057654cbdfc8b665874943346b68fee79b2a7","bugs":{"url":"https://github.com/hollowdoor/more_events/issues"},"homepage":"https://github.com/hollowdoor/more_events#readme","_id":"more-events@2.0.0","_shasum":"dcbb41d018d7d899bbf43668f0627af126f2910f","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.10.1","_npmUser":{"name":"hollowdoor","email":"hollowdoor99@gmail.com"},"dist":{"shasum":"dcbb41d018d7d899bbf43668f0627af126f2910f","tarball":"https://registry.npmjs.org/more-events/-/more-events-2.0.0.tgz","integrity":"sha512-QHzYkZBEJflHYgbE5d6o1RkhdJDK9xpmP0rx5eQu8hATGzLv7o9AUxZOeeu8XYvpVo5WILNxkMrg59kfkOAZoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCppLnj1lhTzLkrv39Y/E2+mF+mD2nTqnFT+Msujw4LNwIgDvwY5aRYUadwbTIU9a+c3IOIefF6eO8ks9zsDtXYAkg="}]},"maintainers":[{"name":"hollowdoor","email":"hollowdoor99@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/more-events-2.0.0.tgz_1508811915720_0.3593979193829"}}},"readme":"more-events\n===========\n\nInstall\n-------\n\n`npm install more-events`\n\nIt's\n----\n\nAnother event emitter with the usual methods.\n\n-\ton\n-\toff\n-\tone\n-\temit\n\nThis is similar to [node's event Emitter](https://nodejs.org/api/events.html), but the emitter in `more-events` is lighter.\n\n### emitter.addListener(name, listener, matchListener)\n\nSet a listener like with `emitter.on()` except `matchListener` will be used to find the listener instead of `listener` for removal.\n\nThe default for `matchListener` is null, and if it is null `listener` will be used for removal.\n\n### emitter.clear(name)\n\nRemove all listeners on the given event name using `emitter.clear(name)`.\n\nOther methods/properties to be aware of:\n-----------------------------------\n\n* removeListener()\n* emitListeners()\n* removeAll()\n\n### emitter.listeners\n\n`emitter.listeners` is object where listeners are stored.\n\nSet the context if you want.\n----------------------------\n\n```javascript\nimport { Emitter } from 'more-events';\nfunction MyClass(){\n    this.emitter = new Emitter(this /*A different context for listeners*/);\n}\n```\n\nOtherwise the emitter uses it's own context, or the inherited context (this instance).\n\n```javascript\nimport { Emitter } from 'more-events';\nclass MyClass extends Emitter {\n    constructor(){\n        super(); //Emitter uses this from MyClass\n    }\n}\n```\n\nemitter.dispose()\n-----------------\n\nDestroy the object when you don't need it any more. Good for memory management.\n\nWhy?\n----\n\nBecause I can, and because I need a really light emitter I can depend on.\n","maintainers":[{"name":"hollowdoor","email":"hollowdoor99@gmail.com"}],"time":{"modified":"2022-06-20T09:23:02.351Z","created":"2015-09-26T12:14:59.048Z","1.0.0":"2015-09-26T12:14:59.048Z","1.1.0":"2015-09-26T13:31:15.738Z","1.2.0":"2015-10-28T22:30:33.398Z","1.2.1":"2015-12-09T01:27:12.157Z","1.3.1":"2015-12-09T20:44:45.142Z","1.3.2":"2015-12-09T21:06:42.471Z","2.0.0":"2017-10-24T02:25:16.618Z"},"homepage":"https://github.com/hollowdoor/more_events#readme","keywords":["emitter,events","emitter","events"],"repository":{"type":"git","url":"git+https://github.com/hollowdoor/more_events.git"},"author":{"name":"Quentin Engles","email":"hollowdoor99@gmail.com"},"bugs":{"url":"https://github.com/hollowdoor/more_events/issues"},"license":"MIT","readmeFilename":"README.md"}