{"_id":"hast-util-is-conditional-comment","_rev":"1578469","name":"hast-util-is-conditional-comment","description":"hast utility to check if a node is a conditional comment","dist-tags":{"latest":"3.0.1"},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"},{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"time":{"modified":"2026-10-16T16:41:12.000Z","created":"2016-09-08T13:12:56.529Z","3.0.1":"2024-09-27T11:48:47.331Z","3.0.0":"2023-08-30T15:19:29.537Z","2.0.0":"2021-08-01T19:05:26.556Z","1.0.4":"2020-07-02T11:11:56.676Z","1.0.3":"2020-03-21T18:27:28.918Z","1.0.2":"2019-06-01T13:39:14.992Z","1.0.1":"2017-07-24T20:49:25.903Z","1.0.0":"2016-09-08T13:12:56.529Z"},"users":{"flumpus-dev":true},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/rehypejs/rehype-minify.git#main"},"versions":{"3.0.1":{"name":"hast-util-is-conditional-comment","version":"3.0.1","description":"hast utility to check if a node is a conditional comment","license":"MIT","keywords":["comment","conditional","hast","hast-util","html","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","dependencies":{"@types/hast":"^3.0.0"},"scripts":{},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"xo":{"prettier":true,"rules":{"capitalized-comments":"off"}},"_id":"hast-util-is-conditional-comment@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-RWpXL//CiEWwOh4OeAvr2fFeoBbX/sAnPnaYN9x4Nv6O4VPdFf/3Dq64mIybctblVA498SgVjfNc0/mN9S4IQw==","shasum":"322a405743ddde7dacdc16bfb2333c65e9e2e80a","tarball":"http://registry-npm.ywwl.com/hast-util-is-conditional-comment/download/hast-util-is-conditional-comment-3.0.1.tgz","fileCount":9,"unpackedSize":9454,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCGkAiyXsrZ5RTtEIPL2y95Ez4eech8/SORB7MSxkPPlgIhAPOarwh08HfxIC0heED1dfHhxY2OwdKpdKV9xStMNv4e"}],"size":3670,"noattachment":false,"key":"/hast-util-is-conditional-comment/-/hast-util-is-conditional-comment-3.0.1.tgz"},"_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-conditional-comment_3.0.1_1727437727171_0.5220973743466923"},"_hasShrinkwrap":false,"publish_time":1727437727331,"_cnpm_publish_time":1727437727331},"3.0.0":{"name":"hast-util-is-conditional-comment","version":"3.0.0","description":"hast utility to check if a node is a conditional comment","license":"MIT","keywords":["comment","conditional","hast","hast-util","html","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","dependencies":{"@types/hast":"^3.0.0"},"scripts":{},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"xo":false,"_id":"hast-util-is-conditional-comment@3.0.0","gitHead":"142a16cf75ea59ab9a32b1a38e02cc42cdca3f6d","types":"./index.d.ts","homepage":"https://github.com/rehypejs/rehype-minify/tree/main#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-eugTiSl0bGgjAkXLfN6QUzfGlWPTcRC+xhVlwHNxthSxyUfwlTf/0AHDQRJImZ6UyHs+WdGf3s5BCuwAilK6cQ==","shasum":"364a568f5e90dc2fe26e4bb2ed4a6a5e24d1e132","tarball":"http://registry-npm.ywwl.com/hast-util-is-conditional-comment/download/hast-util-is-conditional-comment-3.0.0.tgz","fileCount":6,"unpackedSize":8007,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6WnlXqIYY+ipga/givNufkdHe1mpBSGLyVKpK+4AWwQIhAJnpXchSWnEOcGTnOkv8NaMC/zwWxv51+L972BoxBXyV"}],"size":2785,"noattachment":false,"key":"/hast-util-is-conditional-comment/-/hast-util-is-conditional-comment-3.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-is-conditional-comment_3.0.0_1693408769332_0.023769401241149568"},"_hasShrinkwrap":false,"publish_time":1693408769537,"_cnpm_publish_time":1693408769537},"2.0.0":{"name":"hast-util-is-conditional-comment","version":"2.0.0","description":"hast utility to check if a node is a conditional comment","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","conditional","comment"],"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","main":"index.js","types":"index.d.ts","dependencies":{"@types/hast":"^2.0.0"},"scripts":{"build":"rimraf \"*.d.ts\" && tsc && type-coverage","test":"node --conditions development test.js"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"homepage":"https://github.com/rehypejs/rehype-minify/tree/main#readme","_id":"hast-util-is-conditional-comment@2.0.0","_nodeVersion":"16.2.0","_npmVersion":"7.18.1","dist":{"integrity":"sha512-U66gW8ZWQdxP4ZjTEZ3xZT72y6rIKJqV4At5QmC1ItBbQyZyVkuTp8QkQwhxsbkHdzpifiZdQWrDipc9ByqhRg==","shasum":"b1c915c17ced12635a87984e562d3688f90cdb93","tarball":"http://registry-npm.ywwl.com/hast-util-is-conditional-comment/download/hast-util-is-conditional-comment-2.0.0.tgz","fileCount":4,"unpackedSize":5380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBvB2CRA9TVsSAnZWagAA16wQAIFo1ywOR7EVhBAcePUU\nqF1R1uT5+Ht/6uPTTq2Ym7MuvPFpfbPtjsox7JbxqlQYWdl5JNJHZ9ZBThPw\n79NTUr1yKEFZvR9sja5QkCpj3gdspyDOQVHMkSYFfHD39Uk3AaiL2N69cBq7\n85zdV7Ruo1EBgGrhVJ3coDkaqWFTRD6o07EoE8w6dRb9kMRkPtXTO2QOXUku\n8uNzRbDQFvOhoyXJ6+Av0CarOGNNogXwhT+Q+8ZFsMIAjhysYLbCpWGi29YV\nOLhyQ3DDpu3Fh4KINqQF8QBVRNFNlfoCqBhgzSVH8HP7N1Qg1ArjmxMvQCUg\nUgU8bQWhqIQyBq26Lqf7Ghj1rpfBunq5wL6uLTIFFAAQxpR44jfzJwJ7pLSU\nYQ6ih8fTodBx/e/8JikyOJOBnhmVueFHggiJSsgsvJNlnv2rjdX6DNtjjhU+\nxr5P7allkwurccZfd7Z1lf14TOgWAwQR07CTU8YavfhSt9bh34nX6NmfTR+l\nGKQ6hVtGmZEqrvuKMoY8+dvt6l2a5Wgx7QOvzM21mIt+is8um7nAqvU2rXBB\n2MQn1ND56WXcWtuzWiUZGR0qbVx4uyma1pMbZ0pb1VMS84bCwlJbyM4ejw8A\nePkXn4Um1DyeLgcLDePu9S1Gy0NHb54pPaC4pfh0EMqxMDU1rRkGZ/IkRMy0\nbBCY\r\n=fYWg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCF3VkZNPhIgxnT2fX+axCKkTmDs6bpWjSQk8gDIsroOQIgD0EfN8NyxvO2RklVRaDjU6q/ExDYhoeLGT6aiQ0ceyk="}],"size":1939,"noattachment":false,"key":"/hast-util-is-conditional-comment/-/hast-util-is-conditional-comment-2.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-is-conditional-comment_2.0.0_1627844726407_0.2835305626822393"},"_hasShrinkwrap":false,"publish_time":1627844726556,"_cnpm_publish_time":1627844726556},"1.0.4":{"name":"hast-util-is-conditional-comment","version":"1.0.4","description":"hast utility to check if a node is a conditional comment","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","conditional","comment"],"repository":{"type":"git","url":"https://github.com/rehypejs/rehype-minify/tree/main/packages/hast-util-is-conditional-comment"},"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"}],"xo":false,"_id":"hast-util-is-conditional-comment@1.0.4","_nodeVersion":"14.0.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-rtULxWWknVeSuU/vsJ9tHo+M3ExyaOrZcWvLxqY2nUfCHbDcq60EJzSJC5zNm6ZlbxbJ8l7Ej8C1Kzsi5PJS1A==","shasum":"cc0694c9b5d27cc3e0f1d0e1185a631140aa6e81","tarball":"http://registry-npm.ywwl.com/hast-util-is-conditional-comment/download/hast-util-is-conditional-comment-1.0.4.tgz","fileCount":3,"unpackedSize":4006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/cD8CRA9TVsSAnZWagAAN+YP/2aNwd5tNsg+hjhbdiB6\nI7HHhtPweq3fN/rIu2657aLH02DUJt767EhjDIHP+zHBVRjog9+5X/eG+ZKB\nock8OZ6RJAt0SP5i/1Hq7VL1pywYgeml58yjs+WG/hqeL4C58Z5IvpAzUDXq\nbFWhg8qcKxaPxISFxnb0qBLXBCIdB5Z5nJamy7+VKzBx9yKf0sXNMuxo7BxR\nthesNCHNc6gYONVl0vCo6f6nEhFJoH3LI/F+O935bXtuyjMrBld4bpSWQ/vQ\nDsTiy0iWr35ExYuYmOWZ/boGIc0+uVjKsR6qSdPjNYMnbYflL8wjG+uxKEwn\nrLpLitNN3xyj13vAmcxsbVvYlPWqUi4td7FLlhznsGiJB6LuDZswoHvuzb0z\nBv09v6sYtuAqr+NEetdHfENyvNiHB/R8gJKj1PkNsY6rQb2yQW9CoKOppY2r\nHcNlnkqgFyfGeM77tyW1WFOtPwiluAHyHvtQs3k4sl1+DPiTZNwppHLWtAbx\nT++KI6JNBvjouUzW7w+nylXUb77l/ONaAEksgxV7XUl8nb4KUtT4WgMrnErH\n/AjqC/EZtpPQ98e8L7afJM91SmbdX+SCMedABDn52ZMkuE2P6jdrEddkMSrL\n6jz+x6KkYLqDEOfznH20TcXoTDqCUR+ccKOj8NHXPGGQfg5OFvxCPBlh6I4s\nqkVs\r\n=eBSQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGya6QLORXwK54gSP2OnRsp6y5VGgo1UOa8SHlNrVM7BAiBgaQG3Q2psxKFmFJjeW3Pe8fPYXm2Qj4N3W9T72AE1Dw=="}],"size":1511,"noattachment":false,"key":"/hast-util-is-conditional-comment/-/hast-util-is-conditional-comment-1.0.4.tgz"},"maintainers":[{"email":"keith@mcknig.ht","name":"kmck"},{"email":"tituswormer@gmail.com","name":"wooorm"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-is-conditional-comment_1.0.4_1593688316549_0.8042585285808204"},"_hasShrinkwrap":false,"publish_time":1593688316676,"_cnpm_publish_time":1593688316676},"1.0.3":{"name":"hast-util-is-conditional-comment","version":"1.0.3","description":"hast utility to check if a node is a conditional comment","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","conditional","comment"],"repository":{"type":"git","url":"https://github.com/rehypejs/rehype-minify/tree/master/packages/hast-util-is-conditional-comment"},"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"}],"xo":false,"_id":"hast-util-is-conditional-comment@1.0.3","_nodeVersion":"13.10.1","_npmVersion":"6.14.3","dist":{"integrity":"sha512-LsqJcaMccxoTJ1CRmTA+VPzIBymWJXePBWXhXK9DmWyd2mad16Eoa/xxr8isqeRX4jYJNdiUreEkuq1VE3TYbA==","shasum":"19f0a25384db33a2be7ef12e39aa60fd9e6d4271","tarball":"http://registry-npm.ywwl.com/hast-util-is-conditional-comment/download/hast-util-is-conditional-comment-1.0.3.tgz","fileCount":3,"unpackedSize":4016,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedlyRCRA9TVsSAnZWagAAULsP/iC+O/sLthlIwOkE9QcZ\n+C+fX0cZE1wEmxxmWyEPBKrGt/TAhxwS5I1w5xwL5RXX/iQeu2FVp0mtCUVF\nX2XF/PLZazoBMuPIeo0IBx0BNFosV5vIi752qOkRmzZbXjD1t1X9sbLDWTAs\nPsUKb8AAJ9ZYJrV2n5FzE2KoWKw/sQnElFoB2503jChNvQ50MgJi/8VSP9tZ\n7SNl2dy1LTtnhi0Lw8fBAkDopRwwnEHTKTvAY5zA/ryHeRx4Q7+dkvbQnkQ0\nqSqqvRBeCHsudMl60R4THQxok+a2/CSy0tDOpkaNEflfnABYuf4C6JtDWKlb\nTNp4vWiXysYdmdY1nVlkIl/1pu67GOmiSEw0wDqxbjTn5VCPS0yEc9NBHbzf\nPycDxmhSEy286p60toT9beE5NTvaU0BPEzMhFt69RETnn66KdjMA/w15ix0y\nEfIYJAjYygSBVTQFwLlFwVqk+ynLhPyzFhk6kpshh9t+zKo9cwUVTyuGAE65\n2bQCsHli3cmnnlt9iiEbT5pH7QLOF6jIwJQTJj5sgQd7pA+kS9DtCE0mpXLj\nvSO5YVjfBdg3jxKjB462hDXyE87j8GgH905HiYLZ3WIp/WadgfPKYeUQ70TR\nF5c8DAi3RpH5qNWp6gtfcNhZ5c5dQGk6VK+a/dOdQOF4r+nG/jkAmGqFJUtX\nvZCf\r\n=GmHS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWeh00CnVN9CLUy+E6cF6d173fByMJwHRjO9KsiBdUywIhAI+xv0hfAzC0vxYfwV0/MD4YgfV+Fitt0vPKQhQxOdIa"}],"size":1512,"noattachment":false,"key":"/hast-util-is-conditional-comment/-/hast-util-is-conditional-comment-1.0.3.tgz"},"maintainers":[{"email":"keith@mcknig.ht","name":"kmck"},{"email":"tituswormer@gmail.com","name":"wooorm"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-is-conditional-comment_1.0.3_1584815248824_0.6713116224042581"},"_hasShrinkwrap":false,"publish_time":1584815248918,"_cnpm_publish_time":1584815248918},"1.0.2":{"name":"hast-util-is-conditional-comment","version":"1.0.2","description":"hast utility to check if a node is a conditional comment","license":"MIT","keywords":["unified","rehype","hast","conditional","comment"],"repository":{"type":"git","url":"https://github.com/rehypejs/rehype-minify/tree/master/packages/hast-util-is-conditional-comment"},"bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"xo":false,"_id":"hast-util-is-conditional-comment@1.0.2","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-CtWtCWzqbbGzUAKIoNhNEFjYYRYNA7rJUVHLmO9he+jZWceHx5+6FK0G/EG3H1IbJCbDEiS5asv+vZPXUSZ/wA==","shasum":"c3e4846129e930cfa1e614d7493a4aa1f8eec788","tarball":"http://registry-npm.ywwl.com/hast-util-is-conditional-comment/download/hast-util-is-conditional-comment-1.0.2.tgz","fileCount":3,"unpackedSize":3901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8oADCRA9TVsSAnZWagAAwxoP+QFFZOQ4kRI0uNmrHrUH\nV5uahhKE7K9cAHKC9JIBF2kg1WOKxS0/PKbYlk/lQ4KG7XiUlMdU2r0lXmQk\n8dFaHrTRAKrOLwQa+ck28YKd3ISCI/ZR2e+ELyGR3XNPLgvKfzKjlfpGMAsf\nM0b2sYH1m0gtERZsl750azsUimhFmZ6zFRwUt3FSWfQmRi5YX5uT0Gmje7mU\ntMy2OlzLII/q7rKsLL2C0JibF2hqWEpJxLShF9S9YGG0Qqxxg+8rKbNg3Eum\naqw6Mqh8+m4+5UpbLQ32HlzcTQLBKXsdQpI/x9QTqrkiAfPK3JaSy4HMzuZQ\nh+TaQw/kgjksIDmW/AcCa+wuC0k1kxyt6H+8JUlnkddhBQDpLdlYzIm99ccJ\nBmBOo+893hncjJgxdpPqjnGzQS3PqB1SIb+xCasU86tIiryzjUkkF7pkF2sH\n+Qi3+C9kA0oSGzRAInbJmULNVWBD8i9s/+7nOBLEbbNH7S01y+S12vvZFk3O\nI6nDjwEqNnVRbNOQHjWQxJz8DLuoSXE2Ek0ic1T4uE7ZiY9R4Oqt/L39iYVD\n7adquWW9mURrWozbgb5XpYlQWra6jGHmclQbUkBldzBcdG171ntbobIbRwiN\nC2ygWTdD1/k6K9qVgEG3XJQWulIadzDIJColSh0jEIYlnlX5c9lgFENNo3on\nljl/\r\n=w50i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAvA/JatnglgeHxdhU1lyr8YmHZsuZfTYtxYQgFL2E12AiEA+xlJNdzKz7tI766c4WARTky47rJKIKKeIziEY+2im9A="}],"size":1489,"noattachment":false,"key":"/hast-util-is-conditional-comment/-/hast-util-is-conditional-comment-1.0.2.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-is-conditional-comment_1.0.2_1559396354875_0.49514783323959644"},"_hasShrinkwrap":false,"publish_time":1559396354992,"_cnpm_publish_time":1559396354992},"1.0.1":{"name":"hast-util-is-conditional-comment","version":"1.0.1","description":"Check if a node is a conditional comment","license":"MIT","keywords":["rehype","hast","conditional","comment"],"repository":{"type":"git","url":"https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-conditional-comment"},"bugs":{"url":"https://github.com/wooorm/rehype-minify/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"files":["index.js"],"xo":false,"_id":"hast-util-is-conditional-comment@1.0.1","_npmVersion":"5.1.0","_nodeVersion":"8.1.2","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"integrity":"sha512-aN3uwV455ZHTXpXkY2T7rz0DKfd48lMOUGx6FiDaCWDGMecWl5Dwkn+CrUshX7io5v5us0tR0RoUHhex/Xk2/g==","shasum":"266d3561fb7ecdd28aa2733fdd6a7837a543759e","tarball":"http://registry-npm.ywwl.com/hast-util-is-conditional-comment/download/hast-util-is-conditional-comment-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyUTvLPLrgrVG05W95VqSNaiW7yEmcsWOaBPqP71KIaAIhANaOQGBUvHi9Li0dCkpWAtpqjLYHbqld1nIhd9ERzh7p"}],"size":933,"noattachment":false,"key":"/hast-util-is-conditional-comment/-/hast-util-is-conditional-comment-1.0.1.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-is-conditional-comment-1.0.1.tgz_1500929365758_0.2017764518968761"},"directories":{},"publish_time":1500929365903,"_cnpm_publish_time":1500929365903},"1.0.0":{"name":"hast-util-is-conditional-comment","version":"1.0.0","description":"Check if a node is a conditional comment","license":"MIT","keywords":["rehype","hast","conditional","comment"],"repository":{"type":"git","url":"https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-conditional-comment"},"bugs":{"url":"https://github.com/wooorm/rehype-minify/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"files":["index.js"],"_id":"hast-util-is-conditional-comment@1.0.0","scripts":{},"_shasum":"20c9ae45ddc11e07e5be5d09d3542576629269f8","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.3.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"20c9ae45ddc11e07e5be5d09d3542576629269f8","tarball":"http://registry-npm.ywwl.com/hast-util-is-conditional-comment/download/hast-util-is-conditional-comment-1.0.0.tgz","integrity":"sha512-yg92aGupjwTbqgPKP8CDjGeAkDeK89lK4sBHxbEjAqf4xuPBFVp1CohTH4c+i/eyZmbh8Hpjbrl2iOhCE49VGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBv/lsiytwE8xRFOOTcYMyMWjNMR5ZRG5r6e9Moqe2FwIhAO5R3bufraY1Jo/vVWQdAOjOkx33JgypiD4b5Jf9M2kZ"}],"size":718,"noattachment":false,"key":"/hast-util-is-conditional-comment/-/hast-util-is-conditional-comment-1.0.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/hast-util-is-conditional-comment-1.0.0.tgz_1473340374755_0.4168995583895594"},"directories":{},"publish_time":1473340376529,"_cnpm_publish_time":1473340376529}},"readme":"<!--This file is generated-->\n\n# hast-util-is-conditional-comment\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 a node is a conditional comment.\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  * [`isConditionalComment(node)`](#isconditionalcommentnode)\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 whether a hast node is a “conditional”\ncomment.\nConditional comments are a legacy feature that was specific to Internet\nExplorer.\nThey were no longer used in IE 10.\n\n## When should I use this?\n\nYou can use this package when you’re building tools that handle old and\nnon-standard HTML, but generally it’s recommended to remove conditional\ncomments.\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-conditional-comment\n```\n\nIn Deno with [`esm.sh`][esm-sh]:\n\n```js\nimport {isConditionalComment} from 'https://esm.sh/hast-util-is-conditional-comment@3'\n```\n\nIn browsers with [`esm.sh`][esm-sh]:\n\n```html\n<script type=\"module\">\n  import {isConditionalComment} from 'https://esm.sh/hast-util-is-conditional-comment@3?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {isConditionalComment} from 'hast-util-is-conditional-comment'\n\nisConditionalComment(u({type: 'comment', value: '[if IE]>...<![endif]'})) //=> true\nisConditionalComment(u({type: 'comment', value: '<![endif]'})) //=> true\nisConditionalComment(u({type: 'comment', value: 'foo'})) //=> false\n```\n\n## API\n\nThis package exports the identifier\n`isConditionalComment`.\nThere is no default export.\n\n### `isConditionalComment(node)`\n\nCheck if a node is a conditional comment.\n\n###### Parameters\n\n* `node` (`Node`) — node to check\n\n###### Returns\n\nWhether a node is a conditional comment (`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-conditional-comment@^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-conditional-comment\n\n[downloads-badge]: https://img.shields.io/npm/dm/hast-util-is-conditional-comment.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-conditional-comment\n\n[size-badge]: https://img.shields.io/bundlejs/size/hast-util-is-conditional-comment\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","_attachments":{},"homepage":"https://github.com/rehypejs/rehype-minify/tree/main#readme","bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"license":"MIT"}