{"_id":"@clubajax/on","_rev":"13-abb15e4793e02c53e5dd21bd6fef7f11","name":"@clubajax/on","description":"A library for making DOM event handling simple","dist-tags":{"latest":"2.2.2"},"versions":{"2.1.2":{"name":"@clubajax/on","version":"2.1.2","author":{"name":"anm9tr@gmail.com"},"main":"dist/on.js","description":"A library for making DOM Node event handling simple","license":"MIT","repository":{"type":"git","url":"git://github.com/clubajax/on.git"},"devDependencies":{"grunt":"^1.0.1","grunt-contrib-uglify":"^2.3.0"},"bugs":{"url":"https://github.com/clubajax/on/issues"},"homepage":"https://github.com/clubajax/on#readme","directories":{"test":"tests"},"dependencies":{"grunt":"^1.0.1","grunt-contrib-uglify":"^2.3.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["on","events","addEventListener","event","handler"],"gitHead":"618d3235cf9c040775b27926d2b5cbe89e0c53e7","_id":"@clubajax/on@2.1.2","_shasum":"39cf2f3284a7146336dd7bb1ec7f2716538edc8a","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"mwilcox","email":"anm9tr@gmail.com"},"dist":{"shasum":"39cf2f3284a7146336dd7bb1ec7f2716538edc8a","tarball":"https://registry.npmjs.org/@clubajax/on/-/on-2.1.2.tgz","integrity":"sha512-F1FVdCZcYmN932ltNiRZkyPf5X+AvAHqkkXlIsB/wbtWxgozyqvy99jajOuHRN4OPuXCXI6dsIUMH3O3K1tNBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwIqhYBnppHek6yZENZwuMNbBFb8jD1rjAcCKwm+CTaAIgcGv365Qtxa4Jp+yqybDAMQxVv3LWo410EEL2V/fdciQ="}]},"maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/on-2.1.2.tgz_1503860442787_0.407465509371832"}},"2.1.3":{"name":"@clubajax/on","version":"2.1.3","author":{"name":"anm9tr@gmail.com"},"main":"dist/on.js","description":"A library for making DOM Node event handling simple","license":"MIT","repository":{"type":"git","url":"git://github.com/clubajax/on.git"},"devDependencies":{"grunt":"^1.0.1","grunt-contrib-uglify":"^2.3.0"},"bugs":{"url":"https://github.com/clubajax/on/issues"},"homepage":"https://github.com/clubajax/on#readme","directories":{"test":"tests"},"dependencies":{"grunt":"^1.0.1","grunt-contrib-uglify":"^2.3.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["on","events","addEventListener","event","handler"],"gitHead":"828ada33bb7f51ea8f4e1121b944dc6431443d8c","_id":"@clubajax/on@2.1.3","_shasum":"b00c6c9df39c2a5f54c1aee4cc4dfd6b4ef2a5dd","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"mwilcox","email":"anm9tr@gmail.com"},"dist":{"shasum":"b00c6c9df39c2a5f54c1aee4cc4dfd6b4ef2a5dd","tarball":"https://registry.npmjs.org/@clubajax/on/-/on-2.1.3.tgz","integrity":"sha512-3/jmGXl2L1yz544Pjz0oMC8vyQ3GKfrCDTPpFCgli7KaCkt0uy7LQHNSN+1EpTBatMaYhaFL4cYHRvHCMzbtQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD50lxhONNeCMyJGyhLIFmpcK5gIdPMQVRgghX0zfgoHgIgZrvxK9K1m7LUNwkCZZPRkVy6BmlCvEo0SUhsHK+Bo44="}]},"maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/on-2.1.3.tgz_1503862639839_0.9779337304644287"}},"2.1.4":{"name":"@clubajax/on","version":"2.1.4","author":{"name":"anm9tr@gmail.com"},"main":"dist/on.js","description":"A library for making DOM Node event handling simple","license":"MIT","repository":{"type":"git","url":"git://github.com/clubajax/on.git"},"devDependencies":{"grunt":"^1.0.1","grunt-contrib-uglify":"^2.3.0"},"bugs":{"url":"https://github.com/clubajax/on/issues"},"homepage":"https://github.com/clubajax/on#readme","directories":{"test":"tests"},"dependencies":{"grunt":"^1.0.1","grunt-contrib-uglify":"^2.3.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["on","events","addEventListener","event","handler"],"gitHead":"fcaa2a5bdc0f1b939fa46aaf9779235f768f50bc","_id":"@clubajax/on@2.1.4","_shasum":"b6cd176088bf0499487fc8a49726f35b437b27d8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"mwilcox","email":"anm9tr@gmail.com"},"dist":{"shasum":"b6cd176088bf0499487fc8a49726f35b437b27d8","tarball":"https://registry.npmjs.org/@clubajax/on/-/on-2.1.4.tgz","integrity":"sha512-sY+pU/T99RG6n2YkXcY4NnDbG6377zodtQTV+cumSt+GKdFPp6rveL5SWUJGolpqZ4y/Vh4HZD5IIssKQUk2AQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRi4xGjTeaLVdodpq3nx/HcKTNSVOtJ1fWdy21Kmus4wIhAPgPiw16X6f6VLCj8jgyxDA8+vGwxwJz40VBEupFtC2k"}]},"maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/on-2.1.4.tgz_1503864352558_0.3928796004038304"}},"2.1.5":{"name":"@clubajax/on","version":"2.1.5","author":{"name":"anm9tr@gmail.com"},"main":"dist/on.js","description":"A library for making DOM Node event handling simple","license":"MIT","repository":{"type":"git","url":"git://github.com/clubajax/on.git"},"devDependencies":{"grunt":"^1.0.1","grunt-contrib-uglify":"^2.3.0"},"bugs":{"url":"https://github.com/clubajax/on/issues"},"homepage":"https://github.com/clubajax/on#readme","directories":{"test":"tests"},"dependencies":{"grunt":"^1.0.1","grunt-contrib-uglify":"^2.3.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["on","events","addEventListener","event","handler"],"gitHead":"1a2a1ab2cf3d36ab12f12d967c2fb6a4a048b9fd","_id":"@clubajax/on@2.1.5","_shasum":"03f7c776afd84ca2f6c93f562f27d3d05fc433dd","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"mwilcox","email":"anm9tr@gmail.com"},"dist":{"shasum":"03f7c776afd84ca2f6c93f562f27d3d05fc433dd","tarball":"https://registry.npmjs.org/@clubajax/on/-/on-2.1.5.tgz","integrity":"sha512-XwAWVfMoLBK0mLZgtjfKxnhW4KLDPXq5WA4gIZGiOrJ33jxLUXPnKnZn8DhYcy+ajcvtq4SS5j5hdPVzTJS5oA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIUbS1Id7VkYGUHP+1zS2gTshIByjisPQp1W53kyrBSQIhAPDqReamH6zSoVoJXG2lUPiTZbl2SW/eIcF2L5dc4NkK"}]},"maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/on-2.1.5.tgz_1503864525586_0.6431852940004319"}},"2.1.6":{"name":"@clubajax/on","version":"2.1.6","author":{"name":"anm9tr@gmail.com"},"main":"dist/on.js","description":"A library for making DOM Node event handling simple","license":"MIT","repository":{"type":"git","url":"git://github.com/clubajax/on.git"},"devDependencies":{"grunt":"^1.0.1","grunt-contrib-uglify":"^2.3.0"},"bugs":{"url":"https://github.com/clubajax/on/issues"},"homepage":"https://github.com/clubajax/on#readme","directories":{"test":"tests"},"dependencies":{"grunt":"^1.0.1","grunt-contrib-uglify":"^2.3.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["on","events","addEventListener","event","handler"],"gitHead":"bc460cc8f1a7d5b16d54ab802faea056350402de","_id":"@clubajax/on@2.1.6","_shasum":"cd674fdb52fdfaf6d4136372a4d4cb81aa7a1899","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.3","_npmUser":{"name":"mwilcox","email":"anm9tr@gmail.com"},"dist":{"shasum":"cd674fdb52fdfaf6d4136372a4d4cb81aa7a1899","tarball":"https://registry.npmjs.org/@clubajax/on/-/on-2.1.6.tgz","integrity":"sha512-D1XGdFb8rC2v3Elr9zpXVJeeE57bOS4qJ5mmKVzzTIGCoaAtPIx9Td3A+oInvC/KIHcf2wyltzRPduV+7ZN4oA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsAVHPgsf0AyEGLOeqCz5Er3K5Cnubn35V5IYOfcq63AIgVNIihxzgB1P97/3dd6VRQSX5kYXigxS4dDSBsQrCi2Y="}]},"maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/on-2.1.6.tgz_1505317972648_0.11122841946780682"}},"2.1.7":{"name":"@clubajax/on","version":"2.1.7","author":{"name":"anm9tr@gmail.com"},"main":"dist/on.js","description":"A library for making DOM Node event handling simple","license":"MIT","repository":{"type":"git","url":"git://github.com/clubajax/on.git"},"devDependencies":{"grunt":"^1.0.1","grunt-contrib-uglify":"^2.3.0"},"bugs":{"url":"https://github.com/clubajax/on/issues"},"homepage":"https://github.com/clubajax/on#readme","directories":{"test":"tests"},"dependencies":{"grunt":"^1.0.1","grunt-contrib-uglify":"^2.3.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["on","events","addEventListener","event","handler"],"gitHead":"8645270d888073f61c776d5672e63cf0acc5ef9a","_id":"@clubajax/on@2.1.7","_shasum":"1bcb665ebb77968b8bfd3929271011598fadaabb","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.3","_npmUser":{"name":"mwilcox","email":"anm9tr@gmail.com"},"dist":{"shasum":"1bcb665ebb77968b8bfd3929271011598fadaabb","tarball":"https://registry.npmjs.org/@clubajax/on/-/on-2.1.7.tgz","fileCount":12,"unpackedSize":74914,"integrity":"sha512-L9psqRHyKQrfaFJkrbknHotHDCIGMHAtHOHaWFa8ADOSS8k6qj28ekachDnIAlEFPxAdrdp6xeLey8ZrwEnnVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClgs4tFNSAKNIovSUesPn3A0AyX1gBYqjgL9rWMHKWagIgHCOIuTDUxgccOP7mxtziYnHdAv9mZbVfGydrsWGxZbY="}]},"maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/on_2.1.7_1519225413622_0.6181858522986923"},"_hasShrinkwrap":false},"2.1.8":{"name":"@clubajax/on","version":"2.1.8","author":{"name":"anm9tr@gmail.com"},"main":"src/on.js","description":"A library for making DOM Node event handling simple","license":"MIT","repository":{"type":"git","url":"git://github.com/clubajax/on.git"},"devDependencies":{"grunt":"^1.0.1","grunt-contrib-uglify":"^2.3.0"},"bugs":{"url":"https://github.com/clubajax/on/issues"},"homepage":"https://github.com/clubajax/on#readme","directories":{"test":"tests"},"dependencies":{"grunt":"^1.0.1","grunt-contrib-uglify":"^2.3.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["on","events","addEventListener","event","handler"],"gitHead":"a0472362dbab5928fcd70c12d420557db01f68fd","_id":"@clubajax/on@2.1.8","_shasum":"b04fa40ef0b1a5d697d7dcea82def98a3b0329c3","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.3","_npmUser":{"name":"mwilcox","email":"anm9tr@gmail.com"},"dist":{"shasum":"b04fa40ef0b1a5d697d7dcea82def98a3b0329c3","tarball":"https://registry.npmjs.org/@clubajax/on/-/on-2.1.8.tgz","fileCount":12,"unpackedSize":74971,"integrity":"sha512-Qvdg0QjTTbdVFfH+Cpbx5ccP7jTpJ2xFQ2ROmNspMmHWZgLAjWlyI5Wz4dzA6q4GPKeICPuIkE0x5XF8Flenmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3LRf/+IhBRoS8cHjdO9qpj57Ql53+7nGHbY5a8PDjTQIhAKT9KnA1AUI1PzFliS9vnH6COQfaiEbcYXSMONUOCaUD"}]},"maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/on_2.1.8_1519225691424_0.8228344372983305"},"_hasShrinkwrap":false},"2.2.0":{"name":"@clubajax/on","version":"2.2.0","author":{"name":"anm9tr@gmail.com"},"main":"src/on.js","description":"A library for making DOM Node event handling simple","license":"MIT","repository":{"type":"git","url":"git://github.com/clubajax/on.git"},"devDependencies":{"grunt":"^1.0.1","grunt-contrib-uglify":"^2.3.0"},"bugs":{"url":"https://github.com/clubajax/on/issues"},"homepage":"https://github.com/clubajax/on#readme","directories":{"test":"tests"},"dependencies":{"grunt":"^1.0.1","grunt-contrib-uglify":"^2.3.0"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["on","events","addEventListener","event","handler"],"gitHead":"249d209dfb5af262549f0f16cb887e1d5735a319","_id":"@clubajax/on@2.2.0","_nodeVersion":"13.6.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-hJb67QTgkJpkGzRC8ySiAn7nCSOdHK/ii0inFNia1GkWz9QKAv1j+x9NaRLTh1cdVC/NKpquJAwOLNP9BMFT0g==","shasum":"b0f1be8c2b02a641a4b41856cbad48589aac2c39","tarball":"https://registry.npmjs.org/@clubajax/on/-/on-2.2.0.tgz","fileCount":10,"unpackedSize":43136,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeLJsACRA9TVsSAnZWagAAxKMP/22nwveza0BcOWxCnl9G\n++iyU09NIVnFJtWvt1JG694mmqYUxxNYcUw8KcjZHOqbDSNl4H7zv3u3rD9v\nB7B8ZblxLdRCYYtOc2of9MeC+oX0lHqML7nHLhQMZ20pgAmWckHk6/z2dDik\ndfHSMZU9fARnUixlVtWcgzSrP5U+SDLw/4O58HwBBMTPFm+D9IAUxFWrFszK\nt2dBtmnKLtQooD5F6wtsHKIM5DmoOK6BgnFQB1NFuTFsSx+zMYOznSWMOc+Y\nQ0OSbidCXqs/QD359hSDyVi/8MSVYU1uIraQNrvq2JTNqJmYvWtopP6T1jau\nWI7HeNQu45PeVeOWdkB0bw4Z35jXtoMq2LcTaE4ctkdIvz0/wv3dHd/cU2/8\nuQxtq93pyLZVEJvr5EN4efExEslu5CFCYM6iSP1ebCJ1AJACS806TxCPK8gE\n3YNHLm18SFhFfggN8cXJbNY6dYABIJoMP5XXcS9mkCfSjlCjszVxmIBEDE91\n0qsV8q3VOw7LwoDTVYWxFDBUZfyoHksaGkFIr/4rmPDEXNP8r9+CMtxSaZ2L\ntZPf0ZB3f6tcIgal8ieuDtfS4GgGcRV5SjzKCOWGa67ZU79EvXvSsDLCtIKZ\nHheGkuqMjKrYN8OKQ1UM0x/czcOI24B8X2A2WyiU0LkA2A2RCBzFgTYAvFqA\nGoyI\r\n=+23Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB3S2EIM+18lBs4MO6qICnniTtsW6o8cMXhTqDagIjIlAiEAjo+HPuT4SRAJkXb/FP26ssUhAHqMf2Km5LDrYW10uiQ="}]},"maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"_npmUser":{"name":"mwilcox","email":"anm9tr@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/on_2.2.0_1579981568322_0.9267752525255311"},"_hasShrinkwrap":false},"2.2.1":{"name":"@clubajax/on","version":"2.2.1","author":{"name":"anm9tr@gmail.com"},"main":"src/on.js","description":"A library for making DOM event handling simple","license":"MIT","repository":{"type":"git","url":"git://github.com/clubajax/on.git"},"bugs":{"url":"https://github.com/clubajax/on/issues"},"homepage":"https://github.com/clubajax/on#readme","keywords":["on","events","addEventListener","event","handler"],"_id":"@clubajax/on@2.2.1","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-ygXWQx4vI2g7Qd/4CT4FD6WQCg+BeyAichRPZV6AbH5Aq4/IbRFgQXbGPGOo25HsbpPjZdoo3DvKWaWYHIwTOw==","shasum":"fe935904a5362c45bd17b4bd1a3949608747d515","tarball":"https://registry.npmjs.org/@clubajax/on/-/on-2.2.1.tgz","fileCount":3,"unpackedSize":19646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWkkFCRA9TVsSAnZWagAAlAwP/R5WJChmqe3F4Qj4vuxZ\nuOCf2EMUbsdwaL3mvagQUyR4EoOsbP0hId0fk2p/2RLqJ5UUuhs0Aq5ZjG0K\nNMOJ8nLUNRiKr4vemNc0+rkYhEStAqDZzmBWVbDdNwGGTFCwbeeZjRigkwEX\nFs02SVP09PjfdSulpx56TePmmrDQAdwhb9+FNnFj9uD7NSi4zJBLE0isUuJZ\n45aEu1JL3iOh/2B1W9YAMGRDZRbnkVswFOukIsKp50BGzuF8iJfGw2TEdltV\nf7tonZOGoRezCayy+RegKJYk9/uS1nPoACjVsuNGmXuFdrqSm1JUidOtG+C8\nOYgY0HzXAmn9w8XvuqV8sSMGzcpMIP+lZ9FgKZYkR42xQXNeSfYmhTqW+dST\n/cTWf4FhCk7Jx10hN+cjaOWrTebejD34W7bctBAcwLAxG0xttvbcCgB++tP9\nVd+DlA96Pfy0uf2j6JJ0sjSc52Wixojv82yI7pewt1qwqVpHxdbkvM8nstqA\npv3jmg3wDLbmCpXnyvdENC98V2H+Fq+1FqX10/7SbD9jddoKR6cVimscKyz9\n48p7ZGZbwIgt1KQqwFQ+N8XigPnPDcBJetxnNwvPvzHfe/wxEai3nbEYT3Pp\n9WGeKdsM+YNGoVgvPieAaQYjMMid3bUKskbfTKJuW6zNZ4G7h3CjfqdCgimj\nbFF7\r\n=SXZ9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRbhgucs0Uyy4zJsmIWBynW2A/+Qf2QW6qQO/TncfqFQIhAJCC6JS9iZgbGWAUD2ppG/brfoZwmBDlzbzYBfUsmAZZ"}]},"_npmUser":{"name":"mwilcox","email":"anm9tr@gmail.com"},"directories":{},"maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/on_2.2.1_1616529668762_0.6480886151822081"},"_hasShrinkwrap":false},"2.2.2":{"name":"@clubajax/on","version":"2.2.2","author":{"name":"anm9tr@gmail.com"},"main":"on.js","description":"A library for making DOM event handling simple","license":"MIT","repository":{"type":"git","url":"git://github.com/clubajax/on.git"},"bugs":{"url":"https://github.com/clubajax/on/issues"},"homepage":"https://github.com/clubajax/on#readme","keywords":["on","events","addEventListener","event","handler"],"_id":"@clubajax/on@2.2.2","_nodeVersion":"13.7.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-LBrDE55RfirpORs1Lus3AIS+XNvUo/3ao4sVb8lTQHFOFWlYheltApWeDE2yzEwQxLjYpgFS3gpX72IVPbaVRQ==","shasum":"f28b5abe1e65421bbaba45495f31c78838feb3ad","tarball":"https://registry.npmjs.org/@clubajax/on/-/on-2.2.2.tgz","fileCount":3,"unpackedSize":19642,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWlD0CRA9TVsSAnZWagAAmB4P/RYp9dS/KLItZu+hroE7\nV9DCmLPOMiV1coKz7s+7f3Z0snYJn8w08xZZKuqB9c/Z5iRLUSxdCLD+qTSG\n+APIiATfkcf4quJNtcq+Lz1hWevVecGA92IXTIgZIgEFtSG1pcP/++AbAswu\n4pTTAg3+VDZPxursGTJLrwP84rvhxha8EWvUY6qvBNxhVP2MeN2OGPh6i6gO\nUHzuaNSjm3GzUgwC1vvXOVLxWfdEhLCmobuZvyS/Zlv9Sjw938Mr8zOs/jge\nR8NSggsULuth+BypojJcPtjux9C77l+Z1qSYg/wvXcotL0myqkhxDbfifYUb\nmibIF1p7XWZjEY9xJfrA4Li4SrCnFMg/o/H5t0xq39Kef0Z7F95MFZ27KZnQ\nOtfzPVniZhaJQBmjO0eohoFkkm1WcrDiKmiYKbJdbJvWfaya9uY7Co6jEs8Y\nii5bcnVFXgq1af5Q3BWhMMQeBBtdGXBG1z9X6OXJBwRwh1u5hKuSisiSANqx\n5MHc5Jpz2YC8niJ7chV4cqbl/oeYK2tHWpWX9c5SgWCSz/gqo/TUsRQ0i4TZ\ncJokMsnjBdlu/HsSf6Ws2kCxZZqKfTUJTESCT1+Ef1oh1AH1hmqX8Gf5XzdY\nmYKECmMF9D8M1w2uWn8gVwh4cWHvMHxoACgBNSnLI0k9UB2p01MuZ/sw/SmZ\nWln8\r\n=UfTq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBXeV01fvCrLtaPJVTelc2CrXloKdFsX4QJzYoMlMWDVAiAYvNf+pJd4ILddQ0GQVZHVU2Jx23DJqYs7tfiusc0KuA=="}]},"_npmUser":{"name":"mwilcox","email":"anm9tr@gmail.com"},"directories":{},"maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/on_2.2.2_1616531699561_0.7577548837862496"},"_hasShrinkwrap":false}},"readme":"# on\n\nA library for making it easy to manage DOM Node events.\n\n## Getting Started\n\nTo install:\n\n\tnpm install @clubajax/on --save\n\nOr `bower`:\n \n    bower install clubajax/on --save\n \nYou can clone the repository with your generic clone commands as a standalone\nrepository or submodule.\n\n\tgit clone git://github.com/clubajax/on.git\n\nIt is recommended that you set the config.path of RequireJS to make `on` accessible as an absolute\npath. If using as a global or with Browserify, it is suggested that you use an *NPM run script* to\ncopy the `on` script to a location more convenient for your project.\n\n## Description\n\n`on` is a library for handling DOM node events in a simple way. It has been under development and used in\nproduction for years. The code is very well established, tested, and used in enterprise apps.\n\nThe primary feature is it returns a handle, from which you can pause, resume, and remove the event handler.\nHandles are much easier to manipulate than using `removeEventListener` or jQuery's `off`, which\nsometimes necessitates recreating sometimes complex, bound, or recursive function signatures.\n\n`on()` makes handling events easy, and supports directly several important techniques, like automatic binding\nof the same event handler to several events, event delegation, event filtering, and even creating synthetic\nevents, like `\"clickoff\"` (user clicked outside of our element, e.g., a modal dialog), gestures, and so on.\n\nSupported signatures:\n\n* `handle = on(node, eventName, handler)`\n* `handle = on(node, eventName, filter, handler)`\n\nFollowing arguments are expected:\n\n* `node` &mdash; a DOM node to attach an event listener to, or its id (as a string).\n* `eventName` &mdash; an event name as a string, or a function, with following signature:\n  `handle = eventProcessor(domNode, callback)`, where:\n  * `domNode` &mdash; a DOM node.\n  * `callback` &mdash; an event handler function, which is usually a combination of `filter` and `handler`.\n* `filter` &mdash; an optional filter parameter, which can be:\n  * simple selector suitable for\n  [matches()](https://developer.mozilla.org/en-US/docs/Web/API/Element/matches)\n  * function, which an event objects as single parameter, and returns a DOM node, which fits its criteria\n  (usually in a parent chain), or `null`, if its criteria was not satisfied.\n    * If a match was found it will be added to an event object as `filteredTarget`,\n      and additionally passed to an event handler as the second parameter.\n* `handler` &mdash; an event handler function, which takes an event object as its first parameter,\n  and an optional filtered DOM node as its second parameter.\n* `handle` &mdash; a returned object, which allows to control an event flow.\n\nThink of handles as something like a returned Promise - an object with methods, with which you can\ncontrol the event handler.\n\n```js\n var handle = on(node, 'click', function(event){\n    console.log('click event:', event);\n });\n handle.pause(); // click event will not fire\n handle.resume(); // click event fires again\n handle.remove(); // click event is permanently removed\n```\n\nEvents can be handled with any object from which you can attach events.\n\n```js\non(window, 'resize', onResize);\non(image, 'load', onImageLoaded);\non(input, 'keydown', onKey);\n```\n\n`on.remove` is a very common feature, used for cleaning up events when destroying a widget.\n`on.pause` is less common &mdash; used for turning functionality on and off, like for popups or mouse tracking.\n\n## Browser Support\n\n`on` supports all modern browsers including IE11. It probably works with IE9-10 but it is not tested.\nIE8 is not supported, `attachEvent` is not used.\n\nThis library uses UMD, meaning it can be consumed with RequireJS, Browserify (CommonJS),\nor a standard browser global.\n\nNode.js is not supported since this is a DOM-based library.\n\n## Features\n\n### The KeyboardEvent Key property\n\nThe [KeyboardEvent key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent) property standardizes modern browsers\n(Chrome 51+) and IE9-11 (which uses the key property, but from the old spec),\nwhich adds the actual letter or number pressed to the event, not just the key code.\n\nBecause the creator of this library uses a Mac, by opinion, the keys are normalized to a Mac. So 'Win' maps to 'Command'\nand 'Alt' maps to 'Option'. All others should be intuitive.\n\n### Wheel Events\n\nWheel events are normalized to a standard: `delta`, `wheelY`, `wheelX`.\n\nIt also adds acceleration and deceleration to make Mac and Windows scroll wheels behave similarly.\n\n### Filters\n\n`on` supports filtered selectors, as an additional parameter:\n\n```js\non(node, 'click', '.tab', callback);\non(node, 'click', 'div', callback);\non(node, 'click', '#main', callback);\non(node, 'click', 'div[\"data-foo\"=bar]', callback);\n\nfunction callback (e, filtered) {\n\tconsole.log('target:', e.filteredTarget)\n}\n```\n\nSo as not to override the event, the targeted element will be in the event as `filteredTarget` as well as\nthe second argument in the callback.\n\nTypically, this technique is used on a node with child elements. The `filteredTarget` will always be the parent, and\nnot the child. Under the hood it uses `on.closest`, described below.\n\n### Multiple Event Types\n\nThere is support for multiple event types at once. The following example is useful for handling\nboth desktop mouseovers and tablet clicks:\n\n```js\nvar handle = on(node, 'mouseover,click', onStart);\n```\n\n### Composite events\n\nInstead of an event name (a string), it is possible to specify a function. All other `on()` arguments\nwill be normalized, and this function will be called with a DOM node and a callback function\n(a possible composite of a filter function described below, and an event handler).\n\nSuch composite event functions can be used directly with `on()`, or registered with it using a name.\nAll you have to do is to add it to a dictionary `on.events`:\n\n```js\nfunction buttonEvent (node, callback) {\n  return on.makeMultiHandle([\n    on(node, 'click', callback),\n    on(node, 'keyup:Enter', callback)\n  ]);\n}\n\non.events.button = buttonEvent;\n\n// now we can:\n\nvar handle = on(node, 'button', handler);\n```\n\nNamed synthetic events can be used in multiple event types described above.\n\nThe library comes with two synthetic events pre-populated: `\"button\"`, and `\"clickoff\"`.\n\n### `clickoff`\n\nThere is a custom `clickoff` event, to detect if you've clicked anywhere in the document\nother than the passed node. Useful for menus and modals.\n\n```js\n var handle = on(node, 'clickoff', callback);\n handle.resume();\n //  callback fires if something other than node\n // or its children are clicked\n```\n**NOTE**: _a clickoff event starts paused due to potential side effects. You typically don't want the event\nto be listened to and fired until some other event has been triggered, like the opening of a modal._\n\n### Multiple Key Events\n\nA special multi-event can be used to listen for certain key strokes:\n\n```js\non(input, 'keyup:Enter,Escape, ,Backspace', handler);\non(input, 'keydown:a,b,c,d,A,B,C,D', handler);\n```\n\n**NOTE**: _multiple key events incompatible with multiple event types described above. Do not use them together._\n\n## Additional Features\n\n`on.emit`: a convenience function to generate events on nodes:\n\n```js\non.emit(node, 'click', {value: 'hello'});\n```\n\n`on.fire`: generates [Custom Events](https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent):\n\n```js\non.fire(node, 'toggle-panel', {value: 'open'});\n```\n\n`on()` does not need to have a node passed to it - you can pass an element ID:\n\n```js\non('mynode', 'click', callback);\n```\n\n`on.makeMultiHandle`: accepts an array and returns a single handle to operate on all at once:\n\n```js\nvar handle = on.makeMultiHandle([\n    on(node, 'mousedown', callback1),\n    on(node, 'mouseup', callback2)\n]);\nhandle.pause();\n```\n\n`on.once`: will remove itself after one event has fired:\n\n```js\non.once(node, 'click', function(){\n    console.log('fires only once');\n});\non.emit(node, 'click'); // fires only once\non.emit(node, 'click'); //\n```\n\nIt still returns a handle.\n\n`on.closest` is a polyfilled version of [the spec](https://developer.mozilla.org/en-US/docs/Web/API/Element/closest),\n which finds an ascendant element which matches a selector:\n\n```js\nvar correctAscendant =  on.closest(node, '.foo');\n```\n\n`on.matches` is an actual name of [matches()](https://developer.mozilla.org/en-US/docs/Web/API/Element/matches)\nfunction found dynamically in the browser. You can use it for your own needs:\n\n```js\nif (node[on.matches]('.header')) {\n  // ...\n}\n```\n\n`on.onDomEvent(node, eventName, callback)` is a simple `on()`-like function,\nwhich unconditionally and without any preprocessing sets an\nevent handler on a node, and returns a handle. Its parameters:\n\n* `node` &mdash; a valid DOM node.\n* `eventName` &mdash; an event name as a string. No synthetic events are allowed.\n* `callback` &mdash; a standard event handling function.\n\nThis function helps to write synthetic events. It is used to avoid possible loops, and ensures\nthat standard DOM events can be handled directly.\n\n## License\n\nThis uses the [MIT license](./LICENSE). Feel free to use, and redistribute at will.\n","maintainers":[{"name":"mwilcox","email":"anm9tr@gmail.com"}],"time":{"modified":"2022-06-12T16:10:26.734Z","created":"2017-08-27T19:00:43.934Z","2.1.2":"2017-08-27T19:00:43.934Z","2.1.3":"2017-08-27T19:37:20.984Z","2.1.4":"2017-08-27T20:05:54.764Z","2.1.5":"2017-08-27T20:08:46.760Z","2.1.6":"2017-09-13T15:52:53.814Z","2.1.7":"2018-02-21T15:03:33.709Z","2.1.8":"2018-02-21T15:08:11.517Z","2.2.0":"2020-01-25T19:46:08.556Z","2.2.1":"2021-03-23T20:01:08.959Z","2.2.2":"2021-03-23T20:34:59.749Z"},"homepage":"https://github.com/clubajax/on#readme","keywords":["on","events","addEventListener","event","handler"],"repository":{"type":"git","url":"git://github.com/clubajax/on.git"},"author":{"name":"anm9tr@gmail.com"},"bugs":{"url":"https://github.com/clubajax/on/issues"},"license":"MIT","readmeFilename":"README.md"}