{"_id":"uevent","_rev":"11-a6c13af0072c78c98dabc7c7ac5144ea","name":"uevent","dist-tags":{"latest":"3.0.0"},"versions":{"1.0.0":{"name":"uevent","version":"1.0.0","keywords":["events","emitter"],"author":"","license":"MIT","_id":"uevent@1.0.0","maintainers":[{"name":"mistic100","email":"contact@git.strangeplanet.fr"}],"homepage":"https://github.com/mistic100/uEvent","bugs":{"url":"https://github.com/mistic100/uEvent/issues"},"dist":{"shasum":"2948a2d441d179000470e21aed126c67b000976c","tarball":"https://registry.npmjs.org/uevent/-/uevent-1.0.0.tgz","integrity":"sha512-AbnTxXJpn6kuT4fBLBybIMzUk68k6prGqN8+lo0PZqcoqBl62m74Awp2oLACH+UcjbSJvyMmsYWlkoKVhxW3Ow==","signatures":[{"sig":"MEQCIDZMreK2Q1kxlqMl6vTROteROt4sCqtEv4Yzm4FTIjy7AiBfhu92l7+msmmVfokeKkmxE3KdGNW0fjorWVAePseCoQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"uevent.js","_from":".","_shasum":"2948a2d441d179000470e21aed126c67b000976c","gitHead":"b3729e809f39f160ecce76d14e675b8b701328da","scripts":{"test":"grunt test"},"_npmUser":{"name":"mistic100","email":"contact@git.strangeplanet.fr"},"repository":{"url":"git://github.com/mistic100/uEvent.git","type":"git"},"_npmVersion":"3.3.12","description":"Event emitter micro library","directories":{},"_nodeVersion":"5.3.0","devDependencies":{"grunt":"^0.4.5","jit-grunt":"^0.10.0","time-grunt":"^1.3.0","grunt-mocha-test":"^0.12.7","grunt-contrib-jshint":"^1.0.0","grunt-contrib-uglify":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/uevent-1.0.0.tgz_1458047233839_0.6218113128561527","host":"packages-12-west.internal.npmjs.com"}},"2.0.0":{"name":"uevent","version":"2.0.0","keywords":["events","emitter"],"author":{"name":"Damien \"Mistic\" Sorel","email":"contact@git.strangeplanet.fr"},"license":"MIT","_id":"uevent@2.0.0","maintainers":[{"name":"mistic100","email":"contact@git.strangeplanet.fr"}],"homepage":"https://github.com/mistic100/uEvent","bugs":{"url":"https://github.com/mistic100/uEvent/issues"},"dist":{"shasum":"83d3a27dc746f0e0c98db3ca1c850ffe4aef4993","tarball":"https://registry.npmjs.org/uevent/-/uevent-2.0.0.tgz","fileCount":9,"integrity":"sha512-UWXwwdYnrc/q2AibFqZpq77aKl+uOQdmAZ4SZf4B8kG1Y3eDFGiYqfZ4kaiQZ3jxZDX8XgDm84AAcIWeGu63Zw==","signatures":[{"sig":"MEUCIG5kQOSstbdtzr+ZTJ80yDglu4Z9ah8Yh+IkPCLsdQwOAiEAkgCoslIN96V1Aod6LTV5j3hDZLGN/k3xn8+ymT9eIy4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39278,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLLabCRA9TVsSAnZWagAAbsYP/1EysMKP7q9+BBCek6T6\nlsRHFrsFSrcpiSXGE5N3twajgCaSihK5fFPSsWPe21paTGEdd8EQIcywY6xM\nsqyTkXG0NEtZ2UsPZdrYoOGxKqaAgV6bbw7ubJjq0QadRlW6zwFk5NRbVRnR\nZC0VjnJ8cob/uPoe4dCfYZ5pcl1+g8cIvnqkXxt1ax9uMW91mgZBgkn9rnrh\n1uBCgnfYDU54GLyA26SqnjT+xTjvrZ6/+qJxX3hf0ewACJu+xXLXTpg1UHrJ\nkbJ0lerB509ZJiBtBEupOdski+zmT4WoBok5/rGmdJBVBj1hk8p2Gljup3aC\nSfrkHAqZPqJgm+66CaMFNzoAbI99qflu4fXaEUU4JXYSs3pXHxA6plIEewtX\nSI0M0vgI/2EI/W25vuhyJ7Z+XWbOOsv0qfwvtw0ejfLJdVBAayT6TzA6rGve\nH/Tsss33JBmP7vYAMlFeEbZ2WhANN3j+IAH7Eiv3LCv6YZRIjccDmQHMhLtg\nEBg+5VyuDiJoShvHoCc2+tS142wvncoLO7zkc9vKvQE0q7TQDiBEvCaxrTWt\nC6odJhoQsNIuNFFwO8uSKrgsqQ9YY0aI6lXN2uc6LCDt1PefuUeAlsyUrGep\n4iftcytVVkNzvL5LIbM1yVYSFWx7Zz97x8waoj3G+BN0RZle2R8z+ccVf3A8\nwi37\r\n=xCW4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types.d.ts","browser":"browser.js","gitHead":"fc5333de3daaf787a2dafe91b719438583e84786","scripts":{"test":"mocha tests/*","compile":"rollup --config rollup.config.js"},"_npmUser":{"name":"mistic100","email":"contact@git.strangeplanet.fr"},"repository":{"url":"git://github.com/mistic100/uEvent.git","type":"git"},"_npmVersion":"6.4.1","description":"Event emitter micro library","directories":{},"_nodeVersion":"8.12.0","_hasShrinkwrap":false,"devDependencies":{"mocha":"^5.2.0","rollup":"^1.0.0","@babel/core":"^7.2.2","@babel/preset-env":"^7.2.3","rollup-plugin-babel":"^4.2.0","rollup-plugin-commonjs":"^9.2.0"},"_npmOperationalInternal":{"tmp":"tmp/uevent_2.0.0_1546434202389_0.38637685649373954","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"uevent","version":"2.0.1","keywords":["events","emitter"],"author":{"name":"Damien \"Mistic\" Sorel","email":"contact@git.strangeplanet.fr"},"license":"MIT","_id":"uevent@2.0.1","maintainers":[{"name":"mistic100","email":"contact@git.strangeplanet.fr"}],"homepage":"https://github.com/mistic100/uEvent","bugs":{"url":"https://github.com/mistic100/uEvent/issues"},"dist":{"shasum":"eda5226f957772a09f0d84868fea634421160d44","tarball":"https://registry.npmjs.org/uevent/-/uevent-2.0.1.tgz","fileCount":9,"integrity":"sha512-jKGgT4/BVWVRSwGyGjZLen/VvUSKaW5E4JQPD0zBXVc5RP/PHZQrXBJwH1cBynhBV6pSLSbujNMydEC9Dho7ng==","signatures":[{"sig":"MEQCICuCtVHNbdKx8lYhL9Ks/zROL/ZOMepNpR7SNLrswtoUAiBb3VSjYb6g5go3WEFvWKjImQehvmODbyzIERD4sufkGg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39387,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgH/MfCRA9TVsSAnZWagAAdhsQAJJR2+sVD5qgicp1pJTS\nmpwZiMHJhe6YvEqtuHVYqP0feqz20/ZTu6MxQyCAoyDVPAOc3cPcDSMtcFdy\n9COBdaAYt+kSQ5cTTuArEbwud7/SJ8hmDL8Li7WTa+XjJukVuNdtbHNuMHki\nLm3QyaXOcfgNhP37I0Lw1SOCb4YuAqbqZ6XaGfl+NagRpBvhPNnHGIC2Kqc8\npNDY+EVJxTz8GZBlswsHVig8lFm8C/NWN3M3f6i1axxA3pIqKJvmnLG8Mq6O\nGI30nDG3C6aVxaJRBrWpBBITk5/vmiRGXFvpM19ZAjzTVuFDVexFMdSwLvea\nxIxQ4Oza6A59Y4s04bgj09ENtKc9jXLRrlCSGgJxPhOEtUExlByZ5AjrkUUw\n6r/tfL7D0AMYICNszWOPm0920DFA3mspzYDv1Z0xB9QtDFN2+v0CAer0yB7K\n4JHVm3biQO8iaIEXHZ31DywpuDZ7YVhoqjBPI3I4qD5Jfel44r3hthAoA5xI\nk8eNiEZPK7pqv2JyCJFKo62oPqvk8otKTmdBgRfk9dEWVtrnpqHTe0BuGnhR\noTPc5RFBBd9LAvfqVH6eHUxRTJmOFzML+Jws4dmXjMN1dh4pEqpg2v43Cw2n\nd9U1SnaLUfEj5U930+n5GAGtt8uGbhvKnxOwWFZamR96W3Wx4xrSFgKNRmZo\njT8Y\r\n=4Mh3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types.d.ts","browser":"browser.js","gitHead":"614135d3ef134219c7e019144000a623b38b936c","scripts":{"test":"mocha tests/*","compile":"rollup --config rollup.config.js"},"_npmUser":{"name":"mistic100","email":"contact@git.strangeplanet.fr"},"repository":{"url":"git://github.com/mistic100/uEvent.git","type":"git"},"_npmVersion":"6.14.4","description":"Event emitter micro library","directories":{},"_nodeVersion":"12.16.2","_hasShrinkwrap":false,"devDependencies":{"mocha":"^8.0.1","rollup":"^2.0.2","@babel/core":"^7.2.2","@babel/preset-env":"^7.2.3","rollup-plugin-babel":"^4.2.0","rollup-plugin-commonjs":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/uevent_2.0.1_1612706590925_0.5023868243560923","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"uevent","version":"2.1.0","keywords":["events","emitter"],"author":{"name":"Damien \"Mistic\" Sorel","email":"contact@git.strangeplanet.fr"},"license":"MIT","_id":"uevent@2.1.0","maintainers":[{"name":"mistic100","email":"contact@git.strangeplanet.fr"}],"homepage":"https://github.com/mistic100/uEvent","bugs":{"url":"https://github.com/mistic100/uEvent/issues"},"dist":{"shasum":"d4d83d3a2d06062f01a58ec54bcc2995559aeecc","tarball":"https://registry.npmjs.org/uevent/-/uevent-2.1.0.tgz","fileCount":9,"integrity":"sha512-ikZfVkBRkH/hMI7UbI/FJOJxbcK4YO+oeRi+cinBMF0n4vgKQuRvKgaoG33q5qxwTwnoK0ppY9Va66kIUGJmyQ==","signatures":[{"sig":"MEUCIQDDbh9xh0f9RGS7R8UELag5YuV+7buLwFd5G+U1ioDyLgIgTuWRRaOxLvKo1lwseQerasHHktjdHJOdCE4ZS+XLvks=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":36603,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9F0XCRA9TVsSAnZWagAAhI8QAIoJ+WgVXdbO8NqJh9nS\n4dX26GA59hSpDentU1+VFih0oClCBxRtpzPYmo4PxjiEqD7/R4Sn8MBTxroq\nQ8rWHzLZ0naIc9AT2rdSrjukgCb0Z9lnQ/U1spNGlfkytidcFNnT+Cn5+g+m\nbSmOEfWQ577mSVoUA3GbXpHbosdkc7XwUqeq/VaOgd299e2kgSNxZb4C0VcT\nNurxfAZUJbO7jQ9GpIa3R72UCbaq+DDrEI9U8R+kvNSW+l2Hnauml+YQpMrc\nRnwr4bL7gXtgIwaC7cZzn674oABFE17vYcfmVMs10GXemeYm3xhdoD5xBtD6\nFRsWK6dKJUu65JF+6TyKgyE/6zIt9gC8uv/EpeN8VPCPZjRI595EJHjFA+sE\n8JvZzczvquiAoCRpe4jETjZbtQKWZBCyBvk8L4J4SyN82MopP/3L3iJz4Whh\nlvbUIpK7Ua1weZbElgKSmyxAvqUexAwz2+R9k5Wk4Ch3cAxUwGJqH23ZItMc\nbRGHHgLiGIWtAOK/90f6GNthOBOHaKjdy1PZhnIkyGSdKtxpKkxFx3CFjvhf\n4W9NPAPA2UKgkG8UoIdjbJrVQvm7bcoViBP9yMy2+xOeoBbWipX3KTiTjZsK\n/437LxKhO0pIxpbhgRbpw7JQYQWXcBj6xJUahd++wtpmAvC/kUVWCpO9mWr0\ngEl0\r\n=XM3a\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types.d.ts","browser":"browser.js","gitHead":"52e8ace3d0091f00c44d71c13fdedf1546840a43","scripts":{"test":"mocha tests/*","compile":"rollup --config rollup.config.js"},"_npmUser":{"name":"mistic100","email":"contact@git.strangeplanet.fr"},"repository":{"url":"git://github.com/mistic100/uEvent.git","type":"git"},"_npmVersion":"8.1.2","description":"Event emitter micro library","directories":{},"_nodeVersion":"16.13.2","_hasShrinkwrap":false,"devDependencies":{"mocha":"^9.2.0","rollup":"^2.66.1","@babel/core":"^7.16.12","@babel/preset-env":"^7.16.11","rollup-plugin-babel":"^4.4.0","rollup-plugin-commonjs":"^10.1.0"},"_npmOperationalInternal":{"tmp":"tmp/uevent_2.1.0_1643404567107_0.3735564726745846","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"uevent","version":"2.1.1","keywords":["events","emitter"],"author":{"name":"Damien \"Mistic\" Sorel","email":"contact@git.strangeplanet.fr"},"license":"MIT","_id":"uevent@2.1.1","maintainers":[{"name":"mistic100","email":"contact@git.strangeplanet.fr"}],"homepage":"https://github.com/mistic100/uEvent","bugs":{"url":"https://github.com/mistic100/uEvent/issues"},"dist":{"shasum":"2f8a6278e56752acf7b2b5ee97e91778bdb0fd81","tarball":"https://registry.npmjs.org/uevent/-/uevent-2.1.1.tgz","fileCount":9,"integrity":"sha512-wX2DXFNoWHzh44BGpqQn/69LAluey6h8gBZYCIZVHJQWQRFASY/n7zua+bnvSZR2Ip8BpWnPJOLjJvks0nn8aw==","signatures":[{"sig":"MEUCIQDTyrin5gXOFRICiVA3LuzddleQwsImMvGpMUFl1ZxJsQIgJrzs+kWuq7u9RlDW91AEflp8aWzVyN95o7T/tNHyo6Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38632,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9sBUCRA9TVsSAnZWagAAXsIP/A6kfWzum2qj4++hoNTp\nNfs+WMVTDhWJ85b7WtV6MBTNVzJIldvzogLE7Iuc6qG9u8h8RzEXlt0tEOo6\n1v4jvBYg1EqvLb5CgksWqoTT7xiASAxjX4w+PJNbooxtmqp4yw3a/a7VkMa4\ndBLr92RNKctDMZcszOeZ+duGlJqaCiKyTjMc8x/TAjszsI2wzihpl32QT14O\n3OvtTWYHs7LBda/sdjdMNtrAIoy+h+NU1RgSg5zQYUTH9EvjPQpZ3G7jXxzZ\n3kNDdNbPBcSq39j41+rPmGash0A48RGTvD7udgakJ/cUvs8p966AWTfJzcGU\n5kh6MdMG0qzIYTCXztzGMVmtkazXWdIxOXk0OtFh+nBi44x5xAjGSQIjpk1U\nBXGlw3NRh02qUsYc1pnjoBI941zM2BTGXsEgmZFuZ21WPYI6xc6arsrazSoU\n0bAJf/7o+K/AzJ5W5ONetYC+vy6MDqsm9uW30y8N2+vcf97uaGH1mUpgoIcW\nGYic37hJ/3u3h0rDOzRfnTSezgnTRXWQ9nUiLSkbHnyEuwaNtgQh8Te5zhXe\nVjSjoVDvhq+IQ4eFz+m01vPucJLJFThUmJ5ThY2o72iXEqsstjrTILyrjDxp\ndFMZ9AYCeaRF6/CO7jVjcMyeoA7tEpmw97xfRl3iSeuTjyVO7Lm8R1h9YDKR\nRR6d\r\n=0VOq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types.d.ts","browser":"browser.js","gitHead":"a3682cba037d105dd055147724538ffbe62d2dea","scripts":{"test":"mocha tests/*","compile":"rollup --config rollup.config.js"},"_npmUser":{"name":"mistic100","email":"contact@git.strangeplanet.fr"},"repository":{"url":"git://github.com/mistic100/uEvent.git","type":"git"},"_npmVersion":"8.1.2","description":"Event emitter micro library","directories":{},"_nodeVersion":"16.13.2","_hasShrinkwrap":false,"devDependencies":{"mocha":"^9.2.0","rollup":"^2.66.1","@babel/core":"^7.16.12","@babel/preset-env":"^7.16.11","rollup-plugin-babel":"^4.4.0","rollup-plugin-commonjs":"^10.1.0"},"_npmOperationalInternal":{"tmp":"tmp/uevent_2.1.1_1643561044815_0.8056352632416603","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"uevent","version":"2.2.0","keywords":["events","emitter"],"author":{"name":"Damien \"Mistic\" Sorel","email":"contact@git.strangeplanet.fr"},"license":"MIT","_id":"uevent@2.2.0","maintainers":[{"name":"mistic100","email":"contact@git.strangeplanet.fr"}],"homepage":"https://github.com/mistic100/uEvent","bugs":{"url":"https://github.com/mistic100/uEvent/issues"},"dist":{"shasum":"ac2d8c0f9b05e2b71389363fc0cb536cdbc74ec3","tarball":"https://registry.npmjs.org/uevent/-/uevent-2.2.0.tgz","fileCount":9,"integrity":"sha512-48s5LF/c6R1fUmctGib/dWKhZjZLd4aK/85dwVAbwgHNBSO0k0UNp0ZKZpkSbU6633qYhgykYQPakTSuOxZopA==","signatures":[{"sig":"MEUCIDvNvDbxTSDNpSKdHoRWnZHqViK9tzxv2Xyz90yGgWNjAiEAm0DQ4h/ByaD8RVhm/rvYdeNitb6rccvEuNlcxdmqzbo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41370,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJioIeHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrWIA//eFClQMdxBPZnK3ZlQuYg+pEnXj0ja+0d/bmCrGItP91teYpy\r\nQnfb5qMhD2c2O40LIjrj8q/zMik33Uaybs3PC4IKzlPfIQQxnyb3jh+VeHOR\r\n494vyHORTU89rLRjLoLrCfs8HA4m19QGr8HMC0voThPzV0LWw5htkkDvq5w8\r\ngDSBVA3VriH4t9xV8p0vMAzZi3W0Je3NGbJwPtXNO45Z947UNUDMzLBEsKlg\r\nmLOM1uCcEsI5lqmEFm8odLwFu9mLPxQBC3WknvB1v9wlgfmwx6ijMwzExgAt\r\nb+ho8fGdHhWZ/0d5Gzi1BsGyGTDjN/tq0k5rAHrIMMvsECvB6Ureiv9QFfyq\r\nVHT+16mChJ3pOsOOsocBJdptAcwXwEYC5b6m/bipdYAZCvJz6GeUiDnIRiPJ\r\nMbGk/TqOl+Gbr3NGT2lZG+ThkfrQ3y76Op7baxwHZrVDSaGd446VUCzmUE20\r\nzyFC2k4+6+Ypw0cAk8zZ4bno/nZsR3SmBv7oK7ugIfqDTvTYZbj4HI1hCCjj\r\nMyaeIqb46z6MgAwfIWrpvOxXhJhCQbNHWTT5/zAROktYhoCs1Rl52d49wQOQ\r\nc5FD8pMib0LmVAuie+glbcXn1HCh12uWJKOCm2V7gzTddciL5T66v3YYGsbB\r\no00CRq/b+Ua85VWhUUis/g1WCaIdKTMZO+E=\r\n=+LAP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","types":"types.d.ts","browser":"browser.js","gitHead":"ef70b8be91aad495b551cf10cc20525aa4679273","scripts":{"test":"mocha tests/*","compile":"rollup --config rollup.config.js"},"_npmUser":{"name":"mistic100","email":"contact@git.strangeplanet.fr"},"repository":{"url":"git://github.com/mistic100/uEvent.git","type":"git"},"_npmVersion":"6.14.13","description":"Event emitter micro library","directories":{},"_nodeVersion":"14.17.3","_hasShrinkwrap":false,"devDependencies":{"mocha":"^10.0.0","rollup":"^2.66.1","@babel/core":"^7.16.12","@babel/preset-env":"^7.16.11","rollup-plugin-babel":"^4.4.0","rollup-plugin-commonjs":"^10.1.0"},"_npmOperationalInternal":{"tmp":"tmp/uevent_2.2.0_1654687623362_0.5100415891357459","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"uevent","version":"3.0.0","description":"Event emitter micro library","type":"module","main":"index.js","types":"types.d.ts","author":{"name":"Damien \"Mistic\" Sorel","email":"contact@git.strangeplanet.fr"},"keywords":["events","emitter"],"license":"MIT","homepage":"https://github.com/mistic100/uEvent","repository":{"type":"git","url":"git://github.com/mistic100/uEvent.git"},"bugs":{"url":"https://github.com/mistic100/uEvent/issues"},"devDependencies":{"mocha":"^11.1.0"},"scripts":{"test":"mocha tests/*"},"_id":"uevent@3.0.0","gitHead":"5a1cd5436c2fe8aaf79e285d59980c2d87699ea1","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-RLHDwt4RRCcucBeSGM0zrYgr577kwWjYwUu6kNt4QqfPxax24okiohTtpi/6hQLQ62WbIAbvXP+oFkowvd8E9A==","shasum":"7b926b340a3a7a344cdbfce4205715662787c00e","tarball":"https://registry.npmjs.org/uevent/-/uevent-3.0.0.tgz","fileCount":5,"unpackedSize":15851,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC5HBEAzK5S1ROFlRg4MfQBTMy7dtMrqojGUEZZ+TMvRQIhAILZT7ZDV7XV9n3JaNXg+CWbS5vsyCKwilfNRj7pRCB5"}]},"_npmUser":{"name":"mistic100","email":"contact@git.strangeplanet.fr"},"directories":{},"maintainers":[{"name":"mistic100","email":"contact@git.strangeplanet.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/uevent_3.0.0_1738757533475_0.32211673450101697"},"_hasShrinkwrap":false}},"time":{"created":"2016-03-15T13:07:16.385Z","modified":"2025-02-05T12:12:13.892Z","1.0.0":"2016-03-15T13:07:16.385Z","2.0.0":"2019-01-02T13:03:22.454Z","2.0.1":"2021-02-07T14:03:11.043Z","2.1.0":"2022-01-28T21:16:07.273Z","2.1.1":"2022-01-30T16:44:04.964Z","2.2.0":"2022-06-08T11:27:03.532Z","3.0.0":"2025-02-05T12:12:13.712Z"},"bugs":{"url":"https://github.com/mistic100/uEvent/issues"},"author":{"name":"Damien \"Mistic\" Sorel","email":"contact@git.strangeplanet.fr"},"license":"MIT","homepage":"https://github.com/mistic100/uEvent","keywords":["events","emitter"],"repository":{"type":"git","url":"git://github.com/mistic100/uEvent.git"},"description":"Event emitter micro library","maintainers":[{"name":"mistic100","email":"contact@git.strangeplanet.fr"}],"readme":"uEvent\n------\n\n[![npm version](https://img.shields.io/npm/v/uevent.svg?style=flat-square)](https://www.npmjs.com/package/uevent)\n[![jsDelivr CDN](https://data.jsdelivr.com/v1/package/npm/uevent/badge)](https://www.jsdelivr.com/package/npm/uevent)\n[![GZIP size](https://img.shields.io/bundlephobia/minzip/uevent?label=gzip%20size)](https://bundlephobia.com/result?p=uevent)\n[![Build Status](https://github.com/mistic100/uEvent/workflows/CI/badge.svg)](https://github.com/mistic100/uEvent/actions)\n\n_uEvent_ is a event emitter library which provides the [observer pattern](http://en.wikipedia.org/wiki/Observer_pattern) to javascript objects.\nIt works on node.js and browser and also supports RequireJS (AMD).\n\nIt is a fork of [jeromeetienne/microevents.js](https://github.com/jeromeetienne/microevent.js) with the changes of few other forks and custom changes.\n\n\n# Features\n\n* jQuery-like API (`on`, `off`, `once`, `trigger`)\n* Value modifier support\n* **prevent default** and **stop propagation** patterns\n* [handleEvent](https://developer.mozilla.org/en/docs/Web/API/EventListener#handleEvent()) support\n\n\n# Installation\n\n```\n$ npm install uevent\n```\n\n\n# Usage\n\n## Create an emitter\n\n**Direct**\n\n```js\nimport { EventEmitter } from 'uevent';\n\nconst obj = new EventEmitter();\n```\n\n**Class extend**\n\n```js\nclass Manager extends EventEmitter {\n\n}\n\nclass obj = new Manager();\n```\n\n**Mixin**\n\n```js\nimport { mixin as eventEmitterMixin } from 'uevent';\n\nconst obj = {};\n\neventEmitterMixin(obj);\n```\n\n\n## Register event handlers\n\n### `on`\n\nAdd one or many event handlers.\n\n```js\n// bind 'callback' to 'event'\nobj.on('event', callback);\n\n// bind 'callback' to 'event1' and 'event2'\nobj.on('event1 event2', callback);\n\n// bind 'callback1' to 'event1' and 'callback2' to 'event2'\nobj.on({\n  event1: callback1,\n  event2: callback2\n});\n```\n\n### `off`\n\nRemove one or many or all event handlers.\n\n```js\n// remove all callbacks for 'event'\nobj.off('event');\n\n// remove 'callback' if attached to 'event'\nobj.off('event', callback);\n\n// remove all callbacks for 'event1' and 'event2'\nobj.off('event1 event2');\n\n// remove 'callback1' if attached to 'event1' and 'callback2' if attached to 'event2'\nobj.off({\n  event1: callback1,\n  event2: callback2\n});\n\n// remove all callbacks\nobj.off();\n```\n\n### `once`\n\nSame as `on` but the callbacks will be removed after the first invocation.\n\nThe callbacks attached once are **only** called by `trigger` and **not** by `change`.\n\n### Callback signature\n\nThe first parameter of the callback is always an `Event` object having the following properties :\n\n- `type` the name of the event\n- `target` the source object of the event\n- `args` additional parameters\n\nWhen additional parameters are provided they are passed to the callback :\n\n```js\nconst callback = function(event, param1, param2) {};\n```\n\nWhen using the `handleEvent` feature you only get the event object :\n\n```js\nconst listener = {\n    handleEvent: function(event) {}\n};\n```\n\n## Trigger events\n\n### `trigger`\n\nTrigger all handlers for an event. Accept optional arguments transmitted to the callbacks.\n\n```js\n// trigger 'event'\nobj.trigger('event');\n\n// trigger 'event' with arguments\nobj.trigger('event', true, 42);\n```\n\n### `change`\n\nWorks like `trigger` but returns a value. This is used to filter a value before display for example. All callbacks **must** accept at least on input value and return the modified (or not) value.\n\n```js\n// call 'event' filters with 'Hello world' input\nvar newVal = obj.change('event', 'Hello world')\n\n// call 'event' filters with 'Hello world' input and other arguments\nvar newVal = obj.change('event', 'Hello world', true, 42)\n```\n\nThe `Event` object has an additional `value` property which holds the current value.\n\n\n## Advanced\n\n### Prevent default\n\nCall `preventDefault()` on this `Event` object to \"mark\" the event. After calling `trigger` you get a reference to this `Event` object and can test `isDefaultPrevented()`.\n\n```js\nobj.on('event', function(e, id) {\n  if (id == 0) {\n    e.preventDefault();\n  }\n});\n\nconst e = obj.trigger('event', id);\n\nif (!e.isDefaultPrevented()) {\n  // ...\n}\n```\n\n### Stop propagation\n\nCall `stopPropagation()` on the `Event` object to prevent any further callbacks to be called. Works for `trigger` and `change`.\n\n```js\nobj.on('event', function(e, val) {\n  e.stopPropagation();\n  return val;\n});\n\nobj.on('event', function(e, val) {\n  return 'azerty';\n});\n\nconst newVal = obj.change('event', '1234');\n// newVal is still '1234'\n```\n\n\n# License\nThis library is available under the MIT license.\n","readmeFilename":"README.md","users":{"sternelee":true}}