{"_id":"yaeti","_rev":"15-938f4f58fa1dfd29f45002a5bef07a2c","name":"yaeti","dist-tags":{"latest":"1.0.3"},"versions":{"0.0.1":{"name":"yaeti","version":"0.0.1","author":{"name":"Iñaki Baz Castillo","email":"ibc@aliax.net"},"license":"MIT","_id":"yaeti@0.0.1","maintainers":[{"name":"ibc","email":"ibc@aliax.net"}],"dist":{"shasum":"02d63b22eed5b669fa88a4c6843062295732428f","tarball":"https://registry.npmjs.org/yaeti/-/yaeti-0.0.1.tgz","integrity":"sha512-WFKV9jHS2eNIjAkjDqruTdWh13LTVJH/3ul/PA/HoMeybdzYVfjksk2aHoL/jVKgSwXPNDB6+5jme0JlI+fQWw==","signatures":[{"sig":"MEUCICOxS/NBm1/EoLOvJ5Q233ax6yXC6eDkugGfreLAC+LKAiEA4yA81OgYEKSYudCm3AEFzqvV2S4YBclb15J6A2JpaNU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"02d63b22eed5b669fa88a4c6843062295732428f","browser":{"./lib/Event.js":"./lib/Event.browser.js"},"engines":{"node":">=0.10.32"},"gitHead":"fd8f2f7da46f2d8dbf49186594da1723210b1250","scripts":{},"_npmUser":{"name":"ibc","email":"ibc@aliax.net"},"_npmVersion":"2.5.1","description":"Yet Another EventTarget Implementation","directories":{},"_nodeVersion":"0.12.0","devDependencies":{"gulp":"git+https://github.com/gulpjs/gulp.git#4.0","gulp-jscs":"^1.6.0","gulp-jshint":"^1.11.2","jshint-stylish":"~1.0.2","gulp-jscs-stylish":"^1.1.0"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.2":{"name":"yaeti","version":"0.0.2","author":{"name":"Iñaki Baz Castillo","email":"ibc@aliax.net"},"license":"MIT","_id":"yaeti@0.0.2","maintainers":[{"name":"ibc","email":"ibc@aliax.net"}],"dist":{"shasum":"22eceb3c68c3681e09579f80e8b2f4c016f77fcd","tarball":"https://registry.npmjs.org/yaeti/-/yaeti-0.0.2.tgz","integrity":"sha512-siij5d60MPXZVPYZ6kQfTmj9FAbxb0y6bl3l1NUwxnttCn1AH3MWpaBobVamXJJojebA4lWKd8NWZcZ9Y87ziA==","signatures":[{"sig":"MEYCIQCQDIsW0AyICjgcafvH5WwCNplfzHhaS9wy0N3qURGa8gIhAMBaFp46LLzVUZHi2kaOSlHcyurjert7uKyfEJXafR27","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"22eceb3c68c3681e09579f80e8b2f4c016f77fcd","browser":{"./lib/Event.js":"./lib/Event.browser.js"},"engines":{"node":">=0.10.32"},"gitHead":"06dd809c4f24f701e3b9523c5d38b662a9cc1006","scripts":{},"_npmUser":{"name":"ibc","email":"ibc@aliax.net"},"_npmVersion":"2.5.1","description":"Yet Another EventTarget Implementation","directories":{},"_nodeVersion":"0.12.0","devDependencies":{"gulp":"git+https://github.com/gulpjs/gulp.git#4.0","gulp-jscs":"^1.6.0","gulp-jshint":"^1.11.2","jshint-stylish":"~1.0.2","gulp-jscs-stylish":"^1.1.0"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.3":{"name":"yaeti","version":"0.0.3","author":{"name":"Iñaki Baz Castillo","email":"ibc@aliax.net"},"license":"MIT","_id":"yaeti@0.0.3","maintainers":[{"name":"ibc","email":"ibc@aliax.net"}],"homepage":"https://github.com/ibc/yaeti","bugs":{"url":"https://github.com/ibc/yaeti/issues"},"dist":{"shasum":"fbc762885c40f1c7fd9b0f06d07992289655778f","tarball":"https://registry.npmjs.org/yaeti/-/yaeti-0.0.3.tgz","integrity":"sha512-eqljxoZ7UI7KGdAJC9JkfC87RoRT87Vot3VVz1a+iA4BYY33yklVjF2aKLx7+cp/7DF9+id7hlNIiV6PVYU4+g==","signatures":[{"sig":"MEYCIQDZ8V04xyQXrlS376C/04t6dV6vgej6vFTmVfFgshSBGwIhAKLhn83O8yXLE6vg+G9nLs6afLZXOyjJJfbKWMMKgzI+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"fbc762885c40f1c7fd9b0f06d07992289655778f","browser":{"./lib/Event.js":"./lib/Event.browser.js"},"engines":{"node":">=0.10.32"},"gitHead":"7e3a6010f9032bbb7e11bdc3897ac7d04301cb15","scripts":{},"_npmUser":{"name":"ibc","email":"ibc@aliax.net"},"repository":{"url":"https://github.com/ibc/yaeti.git","type":"git"},"_npmVersion":"2.5.1","description":"Yet Another EventTarget Implementation","directories":{},"_nodeVersion":"0.12.0","devDependencies":{"gulp":"git+https://github.com/gulpjs/gulp.git#4.0","gulp-jscs":"^1.6.0","gulp-jshint":"^1.11.2","jshint-stylish":"~1.0.2","gulp-jscs-stylish":"^1.1.0"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.4":{"name":"yaeti","version":"0.0.4","author":{"name":"Iñaki Baz Castillo","email":"ibc@aliax.net"},"license":"MIT","_id":"yaeti@0.0.4","maintainers":[{"name":"ibc","email":"ibc@aliax.net"}],"homepage":"https://github.com/ibc/yaeti","bugs":{"url":"https://github.com/ibc/yaeti/issues"},"dist":{"shasum":"89fe739c45ac4491028973193262a837693a66b6","tarball":"https://registry.npmjs.org/yaeti/-/yaeti-0.0.4.tgz","integrity":"sha512-gjoIyQHRknnlDIkNShiqiehrjZrIuWrf+PIcqE5objLW1AXC8nFLSUu3H6D1sTjEIKibxKitmpsUjzICGuRrmw==","signatures":[{"sig":"MEQCIEsdpfZE6EZeHupRC4A8btyylc1rfr9KeQSyUqWRrM0kAiB8L9FxLBaMnDAULJeQpXc3UD+Yw9a08J8UXHMjY4OXBg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"89fe739c45ac4491028973193262a837693a66b6","browser":{"./lib/Event.js":"./lib/Event.browser.js"},"engines":{"node":">=0.10.32"},"gitHead":"c28b35176dbbe10e9452fccf12e4cca850a611ae","scripts":{},"_npmUser":{"name":"ibc","email":"ibc@aliax.net"},"repository":{"url":"https://github.com/ibc/yaeti.git","type":"git"},"_npmVersion":"2.5.1","description":"Yet Another EventTarget Implementation","directories":{},"_nodeVersion":"0.12.0","devDependencies":{"gulp":"git+https://github.com/gulpjs/gulp.git#4.0","gulp-jscs":"^1.6.0","gulp-jshint":"^1.11.2","jshint-stylish":"~1.0.2","gulp-jscs-stylish":"^1.1.0"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.5":{"name":"yaeti","version":"0.0.5","author":{"name":"Iñaki Baz Castillo","email":"ibc@aliax.net"},"license":"MIT","_id":"yaeti@0.0.5","maintainers":[{"name":"ibc","email":"ibc@aliax.net"}],"homepage":"https://github.com/ibc/yaeti","bugs":{"url":"https://github.com/ibc/yaeti/issues"},"dist":{"shasum":"1d88a1d17bb4e5c5e4d3fad5d3fd5eba864358c7","tarball":"https://registry.npmjs.org/yaeti/-/yaeti-0.0.5.tgz","integrity":"sha512-kMgeAHsBOxWk+PtDfoE5N7DuKahjWFWmXT4lb7dKyDeux1EUKOlKuKWQLMqzM7ABdyYSTfm0rdypGP5iDonYQw==","signatures":[{"sig":"MEUCIQDXqZE8YdqDqfk4cbI38+nwsluPuoW4DQajA38+tR+IowIgJnRVf1Je+PrjhxkYO25UzNDjYN1sZrIMOUOUcAmLy74=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"1d88a1d17bb4e5c5e4d3fad5d3fd5eba864358c7","browser":{"./lib/Event.js":"./lib/Event.browser.js"},"engines":{"node":">=0.10.32"},"gitHead":"7b77f5ba5f30e846cb0d71dc10b3bb789d95dcaa","scripts":{},"_npmUser":{"name":"ibc","email":"ibc@aliax.net"},"repository":{"url":"https://github.com/ibc/yaeti.git","type":"git"},"_npmVersion":"2.5.1","description":"Yet Another EventTarget Implementation","directories":{},"_nodeVersion":"0.12.0","devDependencies":{"gulp":"git+https://github.com/gulpjs/gulp.git#4.0","gulp-jscs":"^1.6.0","gulp-jshint":"^1.11.2","jshint-stylish":"~1.0.2","gulp-jscs-stylish":"^1.1.0"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.6":{"name":"yaeti","version":"0.0.6","author":{"name":"Iñaki Baz Castillo","email":"ibc@aliax.net"},"license":"MIT","_id":"yaeti@0.0.6","maintainers":[{"name":"ibc","email":"ibc@aliax.net"}],"homepage":"https://github.com/ibc/yaeti","bugs":{"url":"https://github.com/ibc/yaeti/issues"},"dist":{"shasum":"f26f484d72684cf42bedfb76970aa1608fbf9577","tarball":"https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz","integrity":"sha512-MvQa//+KcZCUkBTIC9blM+CU9J2GzuTytsOUwf2lidtvkx/6gnEp1QvJv34t9vdjhFmha/mUiNDbN0D0mJWdug==","signatures":[{"sig":"MEQCIF1hw1hGpO2xgKclE3JLf1zZmHRexSQ4hSdCCkhZARdDAiAzUXoy6+2Mu0UxcWo5R94qldLTu5fHMoCYZTi3VRu9Nw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"f26f484d72684cf42bedfb76970aa1608fbf9577","browser":{"./lib/Event.js":"./lib/Event.browser.js"},"engines":{"node":">=0.10.32"},"gitHead":"5b838a23410b9ed0eb1b74bc3a266c1af204b8f2","scripts":{},"_npmUser":{"name":"ibc","email":"ibc@aliax.net"},"repository":{"url":"https://github.com/ibc/yaeti.git","type":"git"},"_npmVersion":"2.5.1","description":"Yet Another EventTarget Implementation","directories":{},"_nodeVersion":"0.12.0","devDependencies":{"gulp":"git+https://github.com/gulpjs/gulp.git#4.0","gulp-jscs":"^1.6.0","gulp-jshint":"^1.11.2","jshint-stylish":"~1.0.2","gulp-jscs-stylish":"^1.1.0"},"_npmOperationalInternal":{"tmp":"tmp/yaeti-0.0.6.tgz_1458254413403_0.9036164651624858","host":"packages-13-west.internal.npmjs.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.0":{"name":"yaeti","version":"1.0.0","author":{"name":"Iñaki Baz Castillo","email":"ibc@aliax.net"},"license":"MIT","_id":"yaeti@1.0.0","maintainers":[{"name":"ibc","email":"ibc@aliax.net"}],"homepage":"https://github.com/ibc/yaeti#readme","bugs":{"url":"https://github.com/ibc/yaeti/issues"},"dist":{"shasum":"18b2580317fecb9d08eb91ddc818061424466c32","tarball":"https://registry.npmjs.org/yaeti/-/yaeti-1.0.0.tgz","integrity":"sha512-2iIelD70Fv+sw3Q1UdlddI/LYFf5Qqpha/FUPkN+NlmR2ZlF+k4pgdJ6od9BxwgTkJsOjWOSJYBIfZo0/Gae5A==","signatures":[{"sig":"MEUCIQCkEFXav3AGUtBcqdZ6V+WrjwyxaSkc6g9NFWbkRX/X7AIgLV8xNXkpgGbnGQSgQqS72Isbt9rEk6tkxmR4h0GjlQs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"18b2580317fecb9d08eb91ddc818061424466c32","browser":{"./lib/Event.js":"./lib/Event.browser.js"},"engines":{"node":">=4.0.0"},"gitHead":"f586a3e02834f42489a68444c7b4cfd8084bd688","scripts":{},"_npmUser":{"name":"ibc","email":"ibc@aliax.net"},"repository":{"url":"git+https://github.com/ibc/yaeti.git","type":"git"},"_npmVersion":"4.1.2","description":"Yet Another EventTarget Implementation","directories":{},"_nodeVersion":"7.6.0","devDependencies":{"gulp":"git+https://github.com/gulpjs/gulp.git#4.0","jshint":"^2.9.4","gulp-jscs":"^4.0.0","gulp-jshint":"^2.0.4","jshint-stylish":"^2.2.1","gulp-jscs-stylish":"^1.4.0"},"_npmOperationalInternal":{"tmp":"tmp/yaeti-1.0.0.tgz_1492709377646_0.6074129950720817","host":"packages-18-east.internal.npmjs.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.1":{"name":"yaeti","version":"1.0.1","author":{"name":"Iñaki Baz Castillo","email":"ibc@aliax.net"},"license":"MIT","_id":"yaeti@1.0.1","maintainers":[{"name":"ibc","email":"ibc@aliax.net"}],"homepage":"https://github.com/ibc/yaeti#readme","bugs":{"url":"https://github.com/ibc/yaeti/issues"},"dist":{"shasum":"217d04bbcdcbbd86cc478e4655aa4c28c493debf","tarball":"https://registry.npmjs.org/yaeti/-/yaeti-1.0.1.tgz","integrity":"sha512-kapgTD+vUxjmw55Q/wVgVD7erlCW5IE07Ct0k8op8Y9jKHWOZ3Bmsgz7CCASwbJZNU4ud+4ZOfQfRxKOgliYAg==","signatures":[{"sig":"MEYCIQCf7YZCoXw8K8izSbW7Pp0VC0hHHSF2yIOMqIC7GnrikwIhAPsf2LPhOYQchoLBEK8YP/kQLYt7ElCGi/agEdN6sW9U","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"217d04bbcdcbbd86cc478e4655aa4c28c493debf","browser":{"./lib/Event.js":"./lib/Event.browser.js"},"engines":{"node":">=4.0.0"},"gitHead":"cc0c1b0deaf3ebcb1ae3ed8e5abe4d4afecc8f86","scripts":{},"_npmUser":{"name":"ibc","email":"ibc@aliax.net"},"repository":{"url":"git+https://github.com/ibc/yaeti.git","type":"git"},"_npmVersion":"4.1.2","description":"Yet Another EventTarget Implementation","directories":{},"_nodeVersion":"7.6.0","devDependencies":{"gulp":"git+https://github.com/gulpjs/gulp.git#4.0","jshint":"^2.9.4","gulp-jscs":"^4.0.0","gulp-jshint":"^2.0.4","jshint-stylish":"^2.2.1","gulp-jscs-stylish":"^1.4.0"},"_npmOperationalInternal":{"tmp":"tmp/yaeti-1.0.1.tgz_1493114851623_0.6291333651170135","host":"packages-12-west.internal.npmjs.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.2":{"name":"yaeti","version":"1.0.2","author":{"name":"Iñaki Baz Castillo","email":"ibc@aliax.net"},"license":"MIT","_id":"yaeti@1.0.2","maintainers":[{"name":"ibc","email":"ibc@aliax.net"}],"homepage":"https://github.com/ibc/yaeti#readme","bugs":{"url":"https://github.com/ibc/yaeti/issues"},"dist":{"shasum":"eb4a978c77189e9649bcbf78dbc1dd18c72050b3","tarball":"https://registry.npmjs.org/yaeti/-/yaeti-1.0.2.tgz","fileCount":10,"integrity":"sha512-sc1JByruVRqL6GYdIKbcvYw8PRmYeuwtSd376fM13DNE+JjBh37qIlKjCtqg9mKV2N2+xCfyil3Hd6BXN9W1uQ==","signatures":[{"sig":"MEUCIQDncXTDuHULcpF++vUGSc/T8hKw2CL5IpM9UcO4XkcZLgIgOUFfIymcv7tIBZ9LnTS5vAB6C4Cu6WesoHAuANw99Dg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8183},"main":"index.js","browser":{"./lib/Event.js":"./lib/Event.browser.js"},"engines":{"node":">=4.0.0"},"gitHead":"2563b323b138721f1d49aaa00a74304eabcbfa2a","_npmUser":{"name":"ibc","email":"ibc@aliax.net"},"repository":{"url":"git+https://github.com/ibc/yaeti.git","type":"git"},"_npmVersion":"5.6.0","description":"Yet Another EventTarget Implementation","directories":{},"_nodeVersion":"8.9.4","_hasShrinkwrap":false,"devDependencies":{"gulp":"git+https://github.com/gulpjs/gulp.git#4.0","jshint":"^2.9.4","gulp-jscs":"^4.0.0","gulp-jshint":"^2.0.4","jshint-stylish":"^2.2.1","gulp-jscs-stylish":"^1.4.0"},"_npmOperationalInternal":{"tmp":"tmp/yaeti_1.0.2_1519424561943_0.15618930837825507","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"1.0.3":{"name":"yaeti","version":"1.0.3","author":{"name":"Iñaki Baz Castillo","email":"ibc@aliax.net"},"license":"MIT","_id":"yaeti@1.0.3","maintainers":[{"name":"ibc","email":"ibc@aliax.net"}],"homepage":"https://github.com/ibc/yaeti#readme","bugs":{"url":"https://github.com/ibc/yaeti/issues"},"dist":{"shasum":"992d1a9b9632ac2e7af41ae24e6ee9e05da3ae89","tarball":"https://registry.npmjs.org/yaeti/-/yaeti-1.0.3.tgz","fileCount":10,"integrity":"sha512-XGlihp7jseP/hc/NqYNrNQAs/vgSoMbp40Kd9Zceg6wXws0fncwKWgFyulzUDGNVqlEBAWvvHtcgF9v2N/8LMA==","signatures":[{"sig":"MEQCIEcfQkci7v1TctysTwRsyB2eHjpcWcLoVqF2HDbGq8kDAiAqXKUUbG7H3MQOMZzxo15m3gvnWAEzlWEBcXKU+yzBag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8147,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3BtdCRA9TVsSAnZWagAA77kP/jfSNuwe5JqDkefcDK6+\nYowTsXPO1pEel1lkJNgXupBuX9Wd+5XpJaL6QkdHus4JRGIFLYla4Y5Na3G2\nVzBgzBdfsDkTkM/d/FkH8fPQ0tZpfYW7hGUFZMd3frgeqAzGVNrYxc2TjA64\nKxgTI4y0dfMZtuEGWSsiPkJZ+7BybKdnisJHZygKSfRrR0isBuMDV7JBhoNj\nXsofghBAqbwClBzxISW8p38PvMlpyFGlhqmBDP7NzF3SJJigz7/NjXQePTc5\nE0ZjD9knImqIouieKUpNoKHnhyw2RVsvbrsWQghI5NcTt4RliWqLwQ1vKdlW\nfJq4K9gAMnhzjzN61aXjibqpI94rTpy4oFeS+RoHmLIO5nYFsToIx7mEvwb5\nBK4yWplMIm9cGp90jlkHHFflksmoJeo8BgXLWSuBQt5iH4uWWrfCqO4b+s9M\n3T2kPFX5HwQuQTMyGzkaQefOF3EC5fFvR1HG9KB9LctbGc2cBXx6r1Jgt2F6\ni2DmdOHF5KifhhVzLY32twvPBfvWVPO42CIpjdiwbXU8eXXS7m5LcCDBFy/M\nLGtGD446vpYR7C/veWRae2OGXdMAZ5Z5yQfZpA9Y+IwxEPaHS4SRYx6BZXb7\nhRKDQX9sJkNN6MBZBTq/IeUQVhWkkzjgTN7GVp5hQ8NVgkVTzeKeYC6IZg+L\nasGK\r\n=BMJO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","browser":{"./lib/Event.js":"./lib/Event.browser.js"},"engines":{"node":">=4.0.0"},"gitHead":"bc5e14e2b0feb50a1fc371dda00dfa511ae7d6a9","_npmUser":{"name":"ibc","email":"ibc@aliax.net"},"repository":{"url":"git+https://github.com/ibc/yaeti.git","type":"git"},"_npmVersion":"7.20.5","description":"Yet Another EventTarget Implementation","directories":{},"_nodeVersion":"16.0.0","_hasShrinkwrap":false,"devDependencies":{"gulp":"^4.0.0","jshint":"^2.9.4","gulp-jscs":"^4.0.0","gulp-jshint":"^2.0.4","jshint-stylish":"^2.2.1","gulp-jscs-stylish":"^1.4.0"},"_npmOperationalInternal":{"tmp":"tmp/yaeti_1.0.3_1641814876920_0.03185740213786947","host":"s3://npm-registry-packages"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2015-07-20T21:52:50.671Z","modified":"2025-03-05T11:35:42.531Z","0.0.1":"2015-07-20T21:52:50.671Z","0.0.2":"2015-07-22T10:30:33.869Z","0.0.3":"2015-07-22T10:36:43.041Z","0.0.4":"2015-07-22T11:44:10.870Z","0.0.5":"2016-01-28T09:51:21.949Z","0.0.6":"2016-03-17T22:40:17.919Z","1.0.0":"2017-04-20T17:29:38.182Z","1.0.1":"2017-04-25T10:07:33.856Z","1.0.2":"2018-02-23T22:22:41.992Z","1.0.3":"2022-01-10T11:41:17.047Z"},"bugs":{"url":"https://github.com/ibc/yaeti/issues"},"author":{"name":"Iñaki Baz Castillo","email":"ibc@aliax.net"},"license":"MIT","homepage":"https://github.com/ibc/yaeti#readme","repository":{"url":"git+https://github.com/ibc/yaeti.git","type":"git"},"description":"Yet Another EventTarget Implementation","maintainers":[{"name":"ibc","email":"ibc@aliax.net"}],"readme":"# yaeti\n\nYet Another [EventTarget](https://developer.mozilla.org/es/docs/Web/API/EventTarget) Implementation.\n\nThe library exposes both the [EventTarget](https://developer.mozilla.org/es/docs/Web/API/EventTarget) interface and the [Event](https://developer.mozilla.org/en-US/docs/Web/API/Event) interface.\n\n\n## Installation\n\n```bash\n$ npm install yaeti --save\n```\n\n\n## Usage\n\n```javascript\nvar yaeti = require('yaeti');\n\n// Custom class we want to make an EventTarget.\nfunction Foo() {\n    // Call EventTarget constructor\n    yaeti.EventTarget.call(this);\n}\n// Inherit EventTarget prototype\nFoo.prototype = Object.create(yaeti.EventTarget.prototype);\nFoo.prototype.constructor = Foo;\n\n// Create an instance.\nvar foo = new Foo();\n\nfunction listener1() {\n    console.log('listener1');\n}\n\nfunction listener2() {\n    console.log('listener2');\n}\n \nfoo.addEventListener('bar', listener1);\nfoo.addEventListener('bar', listener2);\nfoo.removeEventListener('bar', listener1);\n\nvar event = new yaeti.Event('bar');\n\nfoo.dispatchEvent(event);\n\n// Output:\n// => \"listener2\"\n```\n\n\n## API\n\n\n### `yaeti.EventTarget` interface\n\nImplementation of the [EventTarget](https://developer.mozilla.org/es/docs/Web/API/EventTarget) interface.\n\n#### ES5\n```javascript\nfunction Foo() {\n    yaeti.EventTarget.call(this);\n}\nFoo.prototype = Object.create(yaeti.EventTarget.prototype);\nFoo.prototype.constructor = Foo;\n```\n\n#### ES6\n```javascript\nclass Foo extends EventTarget () {\n    constructor () {\n        super();\n    }\n}\n```\n\nThe interface implements the `addEventListener`, `removeEventListener` and `dispatchEvent` methods as defined by the W3C.\n\n\n##### `listeners` read-only property\n\nReturns an object whose keys are configured event types (String) and whose values are an array of listeners (functions) for those event types.\n\n\n### `yaeti.Event` interface\n\nImplementation of the [Event](https://developer.mozilla.org/en-US/docs/Web/API/Event) interface.\n\n*NOTE:* Just useful in Node (the browser already exposes the native `Event` interface).\n\n```javascript\nvar event = new yaeti.Event('bar');\n```\n\n\n## Author\n\n[Iñaki Baz Castillo](https://inakibaz.me)\n\n\n## License\n\n[MIT](./LICENSE)\n","readmeFilename":"README.md"}