{"_id":"hast-util-is-event-handler","_rev":"15-67e32d3c9dbabd7e5d60d6bbf7812f7c","name":"hast-util-is-event-handler","dist-tags":{"latest":"3.0.1"},"versions":{"1.0.0":{"name":"hast-util-is-event-handler","version":"1.0.0","keywords":["rehype","hast","property","event","handler"],"author":{"url":"http://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-is-event-handler@1.0.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"bugs":{"url":"https://github.com/wooorm/rehype-minify/issues"},"dist":{"shasum":"11ef674baba27e8fe4f3accd36035519aa76d3cb","tarball":"https://registry.npmjs.org/hast-util-is-event-handler/-/hast-util-is-event-handler-1.0.0.tgz","integrity":"sha512-e9Ty7FI2xOcW2J1MtKyOulS1DHbw7a11FLsAFGT+/tekbYFxEGrbmgs4hBKoqg1GY3iEG4UhPe2KgUDozj9AVQ==","signatures":[{"sig":"MEQCIB2etq16hMAvK8g0uTkMxAA9Lx1+INB8bDxUef6dnojmAiBvpWyzsjNMtX4LbE8+DiNzVFs5WsBI9cqs7RrelW/7vA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"11ef674baba27e8fe4f3accd36035519aa76d3cb","scripts":{},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-event-handler","type":"git"},"_npmVersion":"3.10.6","description":"Check if a property is an event handler","directories":{},"_nodeVersion":"6.3.0","_npmOperationalInternal":{"tmp":"tmp/hast-util-is-event-handler-1.0.0.tgz_1473340379113_0.19653036538511515","host":"packages-12-west.internal.npmjs.com"}},"1.0.1":{"name":"hast-util-is-event-handler","version":"1.0.1","keywords":["rehype","hast","property","event","handler"],"author":{"url":"http://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-is-event-handler@1.0.1","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"bugs":{"url":"https://github.com/wooorm/rehype-minify/issues"},"xo":false,"dist":{"shasum":"1e03c369b37f070b13c7a53da5eb23aba2b50340","tarball":"https://registry.npmjs.org/hast-util-is-event-handler/-/hast-util-is-event-handler-1.0.1.tgz","integrity":"sha512-1RwrXjX3R5il9G7EohOM0fImo5F/JCKSGPz5QdPtETttPo9lo0UYqgBma4qd0CYJdOFQFwWGpSthOq+6RKqf3w==","signatures":[{"sig":"MEQCIFUeEMwxtCy3o10GC1ohmV+9vEQFOLvxcwI+x3m4ysb+AiBu7nRWbPZPKRxeLylIYD/4nUW2QwZOpK/6ULh7HKOrrw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"files":["index.js"],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-event-handler","type":"git"},"_npmVersion":"5.1.0","description":"Check if a property is an event handler","directories":{},"_nodeVersion":"8.1.2","_npmOperationalInternal":{"tmp":"tmp/hast-util-is-event-handler-1.0.1.tgz_1500929548964_0.36456176172941923","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"hast-util-is-event-handler","version":"1.0.2","keywords":["unified","rehype","hast","property","event","handler"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-is-event-handler@1.0.2","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"xo":false,"dist":{"shasum":"fc5549506052255cf4119f33515211f34a09eb81","tarball":"https://registry.npmjs.org/hast-util-is-event-handler/-/hast-util-is-event-handler-1.0.2.tgz","fileCount":3,"integrity":"sha512-HRmEHC1epnHZE9XGscXvapIkAh7pifiUWpMCoqKYB6XyLfoDGMCD2gzVn8oQIE9rX2E8ljdLU+JAwKvhrBZdMw==","signatures":[{"sig":"MEYCIQCDHfyhZ75nKQKYhwd9sSvHKyjZ9DJIT48bawTwJeN2kAIhALggxGmD81LFSDqLRGFIbBghHgWS9a65UswGWMzsfW3z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8oARCRA9TVsSAnZWagAAHLMP/RJPwXnO9xoqFW/xtMKJ\n0s29Sqo6SJLqrLXOhZAUQf6o4l9t3B0NDI7BI19gb8Q2HIZWUgdj+0oyQPHI\n7dBqzUxFfNqwUJ6Q/7B8azZWEHn2Zc+IcJhlJrzjdnSizW6Hs57arGKdsZhJ\nhytU6t8GkCpbGSun710t9OPoNNkix13RcMGWhNg3qVTGniwqUVmY3BGcd55D\n4S6SGuMyZ9Nh7JchpM1ddd1ZdcWWDgo4C5IRjeIgE9rxO5nTzsy8S6lG3lbL\nSQnzNOUEZxYMlRx4VlqI6KyU3cJasEnz9GBODnylOlBitp+0NrsAOUNt5Ce6\nmpbV/8Mkv2iwx5nkBdPFiguiII2Pll2TMfbFBI5mk0zSwGG7OUZsAtbNkQ9a\ndl0aS2NHLy38rLtwrEl3sdJIVoyqw4nInm0o+AN/uUR69qOGjsMlenWPPCms\ndLYgjDS4jpJrB4WS2Ue66LkCyHAjQ3ENccGqJUTUeGfk40WFLT6sZbGw1dHb\nR8u/hdODF2OGhkpsouPMhacIH6J99FYPJ2gz1j+jifbP0eXe3xCCEv8IYY+o\n1vKxI9XFwqx7I3VjSgRSjv27uYleerEMBEf4N7KAtsr2eiS3ss7GXErC9ATe\n3s1yv7vcyBrkVr2AqSAzRdPv3x1CjP8ZS/wt3UoBUW9g0vULil0UXO7rXl0R\nj1Ul\r\n=+CLD\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"https://github.com/rehypejs/rehype-minify/tree/master/packages/hast-util-is-event-handler","type":"git"},"_npmVersion":"6.9.0","description":"hast utility to check if a property is an event handler","directories":{},"_nodeVersion":"12.2.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hast-util-is-event-handler_1.0.2_1559396369336_0.5549601194499882","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"hast-util-is-event-handler","version":"1.0.3","keywords":["unist","hast","hast-util","util","utility","html","property","event","handler"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-is-event-handler@1.0.3","maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"xo":false,"dist":{"shasum":"026299eb59bbf99a701c5e99efe45cc8d50db48c","tarball":"https://registry.npmjs.org/hast-util-is-event-handler/-/hast-util-is-event-handler-1.0.3.tgz","fileCount":3,"integrity":"sha512-Nl04LGjW/rxf35d3MHEnKPbia13IGMfNuxqdUTnUEiRDTOim/4/zzHJhxi1f3r79ZE+UHRkt0wNoZ/3v370rvg==","signatures":[{"sig":"MEUCIQCZTA1stqZrD63Ihzq074+ckkiwUxgh+L6pK37gqz5jVwIgGPEBs9O+IPWPg4G90sM7ZGxxD2IAUsFZ6jqBfSlJ7/Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3811,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedlyeCRA9TVsSAnZWagAA/+IQAIjJh6rlgLnw0q2eZTaX\n8HhJTnzXP9roFqzaC0ZpT1qyqAipvNHn5HLwOLIv5Kl870pC9PsPnu6MopAw\nbMmTZGbZ8OSO5Fr7Ww0pmAh4dD+DmQTLf0BpXsj0ZsZ6V2rkg8oJQjYt/aeG\nKTtnxVAayB2ysAsy0XnNaw4dnpa/8p9NrFUGXrQ2wbHOMj68kFba7DCB6FC8\njRQRH5JYnKZ9QLQu2NtmfAhZ9vssOOFKeu50qJ8wj/dV/hshLNGZqy22LwIk\nDDL7GnH+IR1y9GG/ivMbQHgxvP6Xpidnab+fcyhegxYsWPKe4TU5RZ5bbrZO\n7pqcnqRT01UofarEc7gq5oKlR0/clCRTRMd04hUhUBkKXZAspTIYIPBBnlvz\nOlQP8NjdD4GcafnXeeAL2Dp941TWLvqu1UDY26JKNzkzQ1SBtHpiurayyCc8\nbql5uFfXshvxNN6TrkC7uUoVoHaY17vr4LWhSEWePNWO3Ex6nFqXI5t2V2Vy\nJcYP4CB54LpEEChw+QaADr03RTjSI359rrH3HaT2qTDk/M+ZGsKVdWWylES7\nJLn8lVqmayyhzTQatKyvAsBVA96eefd7M/0cUkbJ+NqmUl4uqUHzemjq94cb\niNXnTbkJ92WkYbwLT+PM5PifdIXlFtN5SmZeIN7Z8l7y/91OuOudsgXREWTe\naKoM\r\n=uKw1\r\n-----END PGP SIGNATURE-----\r\n"},"funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"https://github.com/rehypejs/rehype-minify/tree/master/packages/hast-util-is-event-handler","type":"git"},"_npmVersion":"6.14.3","description":"hast utility to check if a property is an event handler","directories":{},"_nodeVersion":"13.10.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hast-util-is-event-handler_1.0.3_1584815261704_0.43187408057441523","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"hast-util-is-event-handler","version":"1.0.4","keywords":["unist","hast","hast-util","util","utility","html","property","event","handler"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-is-event-handler@1.0.4","maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"xo":false,"dist":{"shasum":"e74dbe1423d32f70814bcb39eb518669f67ac05d","tarball":"https://registry.npmjs.org/hast-util-is-event-handler/-/hast-util-is-event-handler-1.0.4.tgz","fileCount":3,"integrity":"sha512-rFykyA16D4O1U3xFaN/w3vU934AKCnQfiAkcUGb8QDnCe+9WFVAMtt2/AP1yKhIyhQ8L53divZCYLHJQVw/YRw==","signatures":[{"sig":"MEQCIDNk39ScKB7lnvHFG18MEliDhDdXi+UFAx4vBh4dWfI0AiB8tugsn4QJRBkUKjCyRBtowR+Y098bcbOkwR2X7eUDsA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3801,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/cEICRA9TVsSAnZWagAAC9sP+wdCr8h5DX//6NBR/2FV\nkKiM1urjAg4oaSOrsdpPu4eqLsSmJzZHNXFwh2s/MAC0sIJoWdsKSJuvEWTJ\nsz5I3aSl/ogVk6+HWnW+aaP6nyGvfU5068niRk2IuNKCVxKWhsY/nK4IJPjw\nAYqGo+q+uoM4ugLf/Ix9pADLF43alPJuhUv6z5QkGJq5N+U2koczS+gFTzaL\nwQpalKMq8vlwsQ834TZD4bE48gGdcC4ywSPUNt2hIzlzKnPEi7GBJ2hkwo4I\nVUJRzLwSvPssNwbmTByKX/2XVTz/wo5ZErlRH5Ra9tgPuDHeGYoSODEpNyqM\nZXpoMjuoykwZ8HmV4RWzfgvuHLcEBj2ZklzQtTytGQoB8QCU+faL0K/7Ztmt\nW2Zni01Y8hOUiC9FnFJ+3b4hRk5lEllG3ARmTlqTC5mGwkx4WQKeENJttoc/\nXJ16uiN1/LHOGDFHzBK/GLtnkOSk6awjtH7hKTj86HDMLMaoKp3XHF63N62O\npVA558SJI6i8JBUJ+8g6XpSxBK05oYsZXXw6/Vt9HHKYpEJ2B4mlLEtesIuW\nUfR/yZ3YEKU7l3gokHu2l1mw8WOPYJ8xuDpBt1RFH3dLXVB6T1sOZ5BBcFLd\n9GtfOf8TSaNmwhmvBdHvMMmA9FnVKAh4dbWwUVpA64bI1hh+G9wWAZSymXwp\n4MkB\r\n=Iag/\r\n-----END PGP SIGNATURE-----\r\n"},"funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"https://github.com/rehypejs/rehype-minify/tree/main/packages/hast-util-is-event-handler","type":"git"},"_npmVersion":"6.14.5","description":"hast utility to check if a property is an event handler","directories":{},"_nodeVersion":"14.0.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hast-util-is-event-handler_1.0.4_1593688328121_0.34817630363258556","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"hast-util-is-event-handler","version":"2.0.0","keywords":["unist","hast","hast-util","util","utility","html","property","event","handler"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-is-event-handler@2.0.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/rehypejs/rehype-minify/tree/main#readme","bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"xo":false,"dist":{"shasum":"16163237755c5a3a98cbd2ede4125e26d65e366f","tarball":"https://registry.npmjs.org/hast-util-is-event-handler/-/hast-util-is-event-handler-2.0.0.tgz","fileCount":4,"integrity":"sha512-iVB/akLRpcIfoVrjWpxUzbcXEKg3CXWYBzGQCtE9wkLPC79kx/dQTu0ObVRb4U7ZKAq/sxNLtaIGutIGGFfzcQ==","signatures":[{"sig":"MEQCIGWPlS8Nl8M4dPob22BBH5F5f365GNNcUfWbvq5GK9hTAiAqlk4FtfI9nenAAibSUFACHoWOKFuXpQBOfJLGqGpmTQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBvB/CRA9TVsSAnZWagAAL3sQAI30cloyRyvmW5edt/6N\n14sIP3lQnur96YXOIrlX8tiN5GHNaZ8hJGlNHFLjd/l4My+huKl46/+/tqeM\nwPcUna1yOT7+gjkMpEFoexlHh6rUxLv0KtAbXxR+zcxBDLsZihFEqrYvlF61\nR8QkAJ7EBVxhf/07VqKbxnnm8nMVA18WiriaU/O6E+cT/kM8X0dwjYWrILDq\nLuklnNaxylwd0C7OHmoSoqF9jA4CyhizfTo7kBsPDCkCvAk+aK00KGTbZQPD\n9FqLSFBfHT1h29SA1Bt09uoIlscyK2x9TwaNecGUW/A091cXSs00PZRhs12D\n78kpSccMhZ382Rw2u8XfU0ztF2OOXvI0bbTrksROBrmp5GwxjKn/2J9CtR6w\nY1gbsntOJB6oo90wv+H57DA1vfU071Xm8vuPFZx3N7pQoi1rsThCUqLfEToY\nGA+e+qn3lwoycPm1J9OkKOei7hejoVhYTgmow8Q1Mt7d3c5cgnn6rhFrOkR6\nwKuMrpstQViwQf9D2vVbUShHhHX0iKv/m8syVJd4cUB3fxzqvSDVBqHUzd4q\nDsjQAt7SdxVq30BOhWUyA0EOZ8ozBD/VPAxs+Kmv8ZdntSlOIdTDtZdied3Q\nXa6zPQ2jLvHHNHWfC0Oq/IImKcv8L/6UGW8saovaM630pK0GmkwuGMBCLUOa\nAF8a\r\n=lkZP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"index.d.ts","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"scripts":{"test":"node --conditions development test.js","build":"rimraf \"*.d.ts\" && tsc && type-coverage"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"git+https://github.com/rehypejs/rehype-minify.git#main","type":"git"},"_npmVersion":"7.18.1","description":"hast utility to check if a property is an event handler","directories":{},"sideEffects":false,"_nodeVersion":"16.2.0","typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hast-util-is-event-handler_2.0.0_1627844735822_0.016870017695908235","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"hast-util-is-event-handler","version":"3.0.0","keywords":["event","handler","hast","hast-util","html","property","unist","util","utility"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"hast-util-is-event-handler@3.0.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/rehypejs/rehype-minify/tree/main#readme","bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"xo":false,"dist":{"shasum":"529bd8c94045c6224c69610eb983fb54ece1fdc0","tarball":"https://registry.npmjs.org/hast-util-is-event-handler/-/hast-util-is-event-handler-3.0.0.tgz","fileCount":6,"integrity":"sha512-+5ABNfBqcE3cqIfkCT7CB+/WAoXBgwu0zT/3ndlx+CDQHs9SaKsMGgHz3rPaCkOlEAZW9y8wpfxaxdiz8QF9tg==","signatures":[{"sig":"MEUCIFRrgD6eTaBeJyb3oPMcAfFp5lMYjkgCnHZw4nl+DMVYAiEA3foV2EPCHPsw+2gl1X6HcREb+S6n6qYZe8g66ivwp3w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7841},"type":"module","types":"./index.d.ts","exports":"./index.js","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"gitHead":"142a16cf75ea59ab9a32b1a38e02cc42cdca3f6d","scripts":{},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"git+https://github.com/rehypejs/rehype-minify.git#main","type":"git"},"_npmVersion":"9.8.0","description":"hast utility to check if a property is an event handler","directories":{},"sideEffects":false,"_nodeVersion":"20.5.1","typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hast-util-is-event-handler_3.0.0_1693408791387_0.10777552042463867","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"hast-util-is-event-handler","version":"3.0.1","description":"hast utility to check if a property is an event handler","license":"MIT","keywords":["event","handler","hast","hast-util","html","property","unist","util","utility"],"repository":{"type":"git","url":"git+https://github.com/rehypejs/rehype-minify.git#main"},"bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"sideEffects":false,"type":"module","exports":"./index.js","scripts":{},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"xo":{"prettier":true,"rules":{"capitalized-comments":"off"}},"_id":"hast-util-is-event-handler@3.0.1","gitHead":"79383ba769010ff52c547c57850d2dd3ecb815a9","types":"./index.d.ts","homepage":"https://github.com/rehypejs/rehype-minify/tree/main#readme","_nodeVersion":"22.7.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-Xu8jmmojIJ45sSE4c39kZXrW96O/J/wFCxZmg+C7/A/Av6kxwtTPRMBe9TGNJEtRRSch3v1H6iZe7C2hkGe8oQ==","shasum":"1d262a6574c441ecd40d394e92e854f8c76b0da0","tarball":"https://registry.npmjs.org/hast-util-is-event-handler/-/hast-util-is-event-handler-3.0.1.tgz","fileCount":9,"unpackedSize":9295,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAX9Uao74vFOcAdkjjKBu+07ahWnXJRSMvBLBpPWwYLNAiEAnEDE5CkID3129OteQeGcsTHm3IRtekXg2vrlYDzB2ts="}]},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"},{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-is-event-handler_3.0.1_1727437738481_0.5268278417620937"},"_hasShrinkwrap":false}},"time":{"created":"2016-09-08T13:13:00.809Z","modified":"2024-09-27T11:48:59.005Z","1.0.0":"2016-09-08T13:13:00.809Z","1.0.1":"2017-07-24T20:52:29.042Z","1.0.2":"2019-06-01T13:39:29.473Z","1.0.3":"2020-03-21T18:27:41.861Z","1.0.4":"2020-07-02T11:12:08.307Z","2.0.0":"2021-08-01T19:05:35.963Z","3.0.0":"2023-08-30T15:19:51.585Z","3.0.1":"2024-09-27T11:48:58.689Z"},"bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"license":"MIT","homepage":"https://github.com/rehypejs/rehype-minify/tree/main#readme","keywords":["event","handler","hast","hast-util","html","property","unist","util","utility"],"repository":{"type":"git","url":"git+https://github.com/rehypejs/rehype-minify.git#main"},"description":"hast utility to check if a property is an event handler","contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"},{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"readme":"<!--This file is generated-->\n\n# hast-util-is-event-handler\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n[![Sponsors][funding-sponsors-badge]][funding]\n[![Backers][funding-backers-badge]][funding]\n[![Chat][chat-badge]][chat]\n\n[`hast`][hast] utility to check if an attribute name is an event handler.\n\n## Contents\n\n* [What is this?](#what-is-this)\n* [When should I use this?](#when-should-i-use-this)\n* [Install](#install)\n* [Use](#use)\n* [API](#api)\n  * [`isEventHandler(name)`](#iseventhandlername)\n* [Syntax](#syntax)\n* [Syntax tree](#syntax-tree)\n* [Types](#types)\n* [Compatibility](#compatibility)\n* [Security](#security)\n* [Contribute](#contribute)\n* [License](#license)\n\n## What is this?\n\nThis package is a utility to check if an attribute name or DOM property is an\nevent handler.\nIt does not check whether the supposed event handler is valid or known\n(`onmadeupevent` will also yield `true`).\n\n## When should I use this?\n\nYou can use this package to check whether an attribute value likely contains\nJavaScript or something else.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install hast-util-is-event-handler\n```\n\nIn Deno with [`esm.sh`][esm-sh]:\n\n```js\nimport {isEventHandler} from 'https://esm.sh/hast-util-is-event-handler@3'\n```\n\nIn browsers with [`esm.sh`][esm-sh]:\n\n```html\n<script type=\"module\">\n  import {isEventHandler} from 'https://esm.sh/hast-util-is-event-handler@3?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {isEventHandler} from 'hast-util-is-event-handler'\n\nisEventHandler('oncut') //=> true\nisEventHandler('onpushsubscriptionchange') //=> true\nisEventHandler('ones') //=> false\nisEventHandler('class') //=> false\n```\n\n## API\n\nThis package exports the identifier\n`isEventHandler`.\nThere is no default export.\n\n### `isEventHandler(name)`\n\nCheck if a property is an event handler.\n\nReturns `true` when starting with `'on'` and its `length` is `5` or more.\n\n###### Parameters\n\n* `name` (`string`) — property name to check\n\n###### Returns\n\nWhether `prop` is an event handler (`boolean`).\n\n## Syntax\n\nHTML is parsed according to WHATWG HTML (the living standard), which is also\nfollowed by all browsers.\n\n## Syntax tree\n\nThe syntax tree used is [hast][].\n\n## Types\n\nThis package is fully typed with [TypeScript][].\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with maintained\nversions of Node.js.\n\nWhen we cut a new major release, we drop support for unmaintained versions of\nNode.\nThis means we try to keep the current release line,\n`hast-util-is-event-handler@^3`,\ncompatible with Node.js 16.\n\n## Security\n\nAs **rehype** works on HTML and improper use of HTML can open you up to a\n[cross-site scripting (XSS)][xss] attack, use of rehype can also be unsafe.\nUse [`rehype-sanitize`][rehype-sanitize] to make the tree safe.\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`rehypejs/.github`][health] for ways\nto get started.\nSee [`support.md`][support] for ways to get help.\n\nThis project has a [code of conduct][coc].\nBy interacting with this repository, organization, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n[author]: https://wooorm.com\n\n[build]: https://github.com/rehypejs/rehype-minify/actions\n\n[build-badge]: https://github.com/rehypejs/rehype-minify/workflows/main/badge.svg\n\n[chat]: https://github.com/rehypejs/rehype/discussions\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[coc]: https://github.com/rehypejs/.github/blob/main/code-of-conduct.md\n\n[contributing]: https://github.com/rehypejs/.github/blob/main/contributing.md\n\n[coverage]: https://codecov.io/github/rehypejs/rehype-minify\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/rehypejs/rehype-minify.svg\n\n[downloads]: https://www.npmjs.com/package/hast-util-is-event-handler\n\n[downloads-badge]: https://img.shields.io/npm/dm/hast-util-is-event-handler.svg\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esm-sh]: https://esm.sh\n\n[funding]: https://opencollective.com/unified\n\n[funding-backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[funding-sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[hast]: https://github.com/syntax-tree/hast\n\n[health]: https://github.com/rehypejs/.github\n\n[license]: https://github.com/rehypejs/rehype-minify/blob/main/license\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[rehype-sanitize]: https://github.com/rehypejs/rehype-sanitize\n\n[size]: https://bundlejs.com/?q=hast-util-is-event-handler\n\n[size-badge]: https://img.shields.io/bundlejs/size/hast-util-is-event-handler\n\n[support]: https://github.com/rehypejs/.github/blob/main/support.md\n\n[typescript]: https://www.typescriptlang.org\n\n[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting\n","readmeFilename":"readme.md","users":{"flumpus-dev":true}}