{"_id":"hast-util-is-body-ok-link","_rev":"1137229","name":"hast-util-is-body-ok-link","description":"hast utility to check if a link element is “Body OK”","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":"2024-10-08T09:03:38.000Z","created":"2016-09-08T13:12:56.468Z","3.0.1":"2024-09-27T11:48:43.607Z","3.0.0":"2023-08-30T15:19:17.709Z","2.0.0":"2021-08-01T19:05:23.319Z","1.0.4":"2020-07-02T11:11:53.028Z","1.0.3":"2020-03-21T18:27:25.045Z","1.0.2":"2019-06-01T13:39:09.590Z","1.0.1":"2017-07-24T20:49:13.338Z","1.0.0":"2016-09-08T13:12:56.468Z"},"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-body-ok-link","version":"3.0.1","description":"hast utility to check if a link element is “Body OK”","license":"MIT","keywords":["body","hast","hast-util","html","link","ok","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-body-ok-link@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-0qpnzOBLztXHbHQenVB8uNuxTnm/QBFUOmdOSsEn7GnBtyY07+ENTWVFBAnXd/zEgd9/SUG3lRY7hSIBWRgGpQ==","shasum":"ef63cb2f14f04ecf775139cd92bda5026380d8b4","tarball":"http://registry-npm.ywwl.com/hast-util-is-body-ok-link/download/hast-util-is-body-ok-link-3.0.1.tgz","fileCount":9,"unpackedSize":9701,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICHdxqXuWrD6aE9On7LIC3bcsZEw5VtSCa6U/R0aaFoxAiBVdzfMF5sDahcTxiQ7DB820OlZNMnz71nsY0JcWpGRCw=="}],"size":3832,"noattachment":false,"key":"/hast-util-is-body-ok-link/-/hast-util-is-body-ok-link-3.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-is-body-ok-link_3.0.1_1727437723432_0.9653727904723097"},"_hasShrinkwrap":false,"publish_time":1727437723607,"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"},{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_cnpm_publish_time":1727437723607},"3.0.0":{"name":"hast-util-is-body-ok-link","version":"3.0.0","description":"hast utility to check if a link element is “Body OK”","license":"MIT","keywords":["body","hast","hast-util","html","link","ok","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-body-ok-link@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-VFHY5bo2nY8HiV6nir2ynmEB1XkxzuUffhEGeVx7orbu/B1KaGyeGgMZldvMVx5xWrDlLLG/kQ6YkJAMkBEx0w==","shasum":"6b2d808813a6f73eb20e61bdd2b203591af85eb4","tarball":"http://registry-npm.ywwl.com/hast-util-is-body-ok-link/download/hast-util-is-body-ok-link-3.0.0.tgz","fileCount":6,"unpackedSize":8248,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnfOB+NT6149pO3EdiFamCs/Eoy5bw3cRn8EH1qE2sZAIhAMlHPHrwafpseH4MVbcQz1A07xCBgk9mOjh6hCLyhgtm"}],"size":2940,"noattachment":false,"key":"/hast-util-is-body-ok-link/-/hast-util-is-body-ok-link-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-body-ok-link_3.0.0_1693408757525_0.6149622928967642"},"_hasShrinkwrap":false,"publish_time":1693408757709,"_cnpm_publish_time":1693408757709},"2.0.0":{"name":"hast-util-is-body-ok-link","version":"2.0.0","description":"hast utility to check if a link element is “Body OK”","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","link","body","ok"],"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","hast-util-has-property":"^2.0.0","hast-util-is-element":"^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-body-ok-link@2.0.0","_nodeVersion":"16.2.0","_npmVersion":"7.18.1","dist":{"integrity":"sha512-S58hCexyKdD31vMsErvgLfflW6vYWo/ixRLPJTtkOvLld24vyI8vmYmkgLA5LG3la2ME7nm7dLGdm48gfLRBfw==","shasum":"e0df6947b2676d2acac55c611755d359f264958e","tarball":"http://registry-npm.ywwl.com/hast-util-is-body-ok-link/download/hast-util-is-body-ok-link-2.0.0.tgz","fileCount":4,"unpackedSize":6006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBvBzCRA9TVsSAnZWagAARdYP/ihxghCH18W10DnxOVOE\nk9JEomxVHnp8RvsTVG1MnDDutI0ri1FXYuaCmwukEMEz3s/7AVEWVQFlgz3d\nrzrk23FMqVL+VkfLOxAZ938P1zBBgN/8eBJXHRpAap2FpRApd2l1n4f/3S1m\nRSwky+TSwaRpbX5I+LPF6jAXtK11HlOLItA6wG2Pkg+jCMjCp52BFKWVRrvp\nhiuW/PhTqL3qwEjeq1OLoPkSY4YoPndzpB00q80yNM1ZNkipc2lNZZw8uNF0\nnatNt2WlLB4YV95A7+XaXHd9ickcYDG6oEM8VZiyNdbw3WMZeAEeY8UuHyiL\nTg0RCZcHIS+DwLU6j/rvLX79ovhVoNTZbcuNjHeyuUbngOMSdUfVsGcp07LX\nN1xNdYapSwyqNk6oeg+ib27UD2d0zW0IYy1K35kPf2GlMJvqhMq84LDp73vn\naz3tWErNo+fWV9vLP8u2jMdG/CAG/BsoeLvB2+F3dmpR6N5C90mVN+4Hohuj\njcnU1oh2h59TGdh5GjGG77azv/245izaQr4OEt58WvxbeMQZzSUTqOGgntiY\nbb3pRLrJUstyJD5CBzKx8ztrmpoOKBlUe+vpVe/OEOGPbTwrtFk2gfkd/PZc\nDWHjcz3Vz7lzXL7VaStlbHvDe7Wnf/tJkYmIa9y+58wZaaGgLBKfuMHYiGn/\n7Pay\r\n=4Drz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVk1RhDQhfhLOPR0f/lqPXe5xUiqQLt4digc0JgntUwQIhAItO0FWpinx16hzEIds+zBc+g/+y+OjCFMHGsa5opNgE"}],"size":2183,"noattachment":false,"key":"/hast-util-is-body-ok-link/-/hast-util-is-body-ok-link-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-body-ok-link_2.0.0_1627844722707_0.0704075746157451"},"_hasShrinkwrap":false,"publish_time":1627844723319,"_cnpm_publish_time":1627844723319},"1.0.4":{"name":"hast-util-is-body-ok-link","version":"1.0.4","description":"hast utility to check if a link element is “Body OK”","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","link","body","ok"],"repository":{"type":"git","url":"https://github.com/rehypejs/rehype-minify/tree/main/packages/hast-util-is-body-ok-link"},"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"}],"dependencies":{"hast-util-has-property":"^1.0.0","hast-util-is-element":"^1.0.0"},"xo":false,"_id":"hast-util-is-body-ok-link@1.0.4","_nodeVersion":"14.0.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-mFblNpLvFbD8dG2Nw5dJBYZkxIHeph1JAh5yr4huI7T5m8cV0zaXNiqzKPX/JdjA+tIDF7c33u9cxK132KRjyQ==","shasum":"49ab2fad52ef04fe70adcbc95c9fc3a6358c32be","tarball":"http://registry-npm.ywwl.com/hast-util-is-body-ok-link/download/hast-util-is-body-ok-link-1.0.4.tgz","fileCount":3,"unpackedSize":4688,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/cD5CRA9TVsSAnZWagAAaYgQAJ69PCArl/I/PCss6wtC\nnfIomDwtdwfSNp1Zzj+WXiiqh0j1lYBnWT7DjtVe+tDkoQ8SBIq05TWiLiGk\nNuJ3kENLOHUnrtzUA2KhIXfhLkuRnKJ8iBepPnf0DaZSfdlV7+LFfuRX2h0h\n/O+/cD06tBE33jrAfVhTbC0DvlTeUSOXhafvr2aSyN11CuduzyP8Jzvmzhpc\ntezGRPouMfmtc9rVIOMl7BZuW9ZrRxbuKrnsVx9UA24bOjqzaJHXgsqE5geP\nv3zBvSa3n1eI4HlZ8LTgBXcwnvJRuBE3Y7pXWU8tuVonA4nTtVn5zhJp8LsF\n1rQP/zv5o6vjz10tXkqLAVZryuKbSr7TslpQQbLh/3KA2ge49FvsTKPhBEI8\n9QeeTku7l4Pxk+6dx42LeDZfYR4xi4IW5ny6Vor8IxX0MZP57opdgP0MSHsf\nLyTHiGiiF1bpOGxNEZOlHFu8XGEzxA8ueGmlSe+qR3xD3WVPQ+Mhwm3uekw5\n69vMUj2ZELOSD4wjRt+zL274i6q7Xjflq51SI1EuA9lkf+WYJuNYSgyAkJMa\nAbiTQEDqDelpbSgQC4QoezOdkHojgyBfyKLI1AUfG487W0lt+3x/PVKmsq7R\n5TmvjtcWnCOE5/DlA6ByobWiDEo2Jiez7vWbVa1njDM1VGiFRARnlYVVwCOd\nICSr\r\n=J/n3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDv4Bjc+69+i0m3pOp5941hpkGYxXcA9cyCQVadX2BZIgIgMNkj3MZMzGOz3gBBTC/CgO0Vo2i63B30aOGopaYJjNA="}],"size":1744,"noattachment":false,"key":"/hast-util-is-body-ok-link/-/hast-util-is-body-ok-link-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-body-ok-link_1.0.4_1593688312903_0.5804164789424147"},"_hasShrinkwrap":false,"publish_time":1593688313028,"_cnpm_publish_time":1593688313028},"1.0.3":{"name":"hast-util-is-body-ok-link","version":"1.0.3","description":"hast utility to check if a link element is “Body OK”","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","link","body","ok"],"repository":{"type":"git","url":"https://github.com/rehypejs/rehype-minify/tree/master/packages/hast-util-is-body-ok-link"},"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"}],"dependencies":{"hast-util-has-property":"^1.0.0","hast-util-is-element":"^1.0.0"},"xo":false,"_id":"hast-util-is-body-ok-link@1.0.3","_nodeVersion":"13.10.1","_npmVersion":"6.14.3","dist":{"integrity":"sha512-NB8jW4iqT+iVld2oCjSk0T2S2FyR86rDZ7nKHx3WNf/WX16fjjdfoog6T+YeJFsPzszVKsNlVJL+k5c4asAHog==","shasum":"752b16a7ebd6d73d35dde55c02742c934a1aa47b","tarball":"http://registry-npm.ywwl.com/hast-util-is-body-ok-link/download/hast-util-is-body-ok-link-1.0.3.tgz","fileCount":3,"unpackedSize":4698,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedlyNCRA9TVsSAnZWagAAUHcQAKRSXTjBiJGLj68py9A9\npbpNsb0LWn72bX2LF2Ez7skwrlz0q+XKJiYfEegpupOcjQvAoqFl+RLVENDH\nfgxMaokLP/2IQG0AsC5F4TXe9Le6EFvvqQet4glXpV72qP/0DZ/zsEwibMOv\nfdBSIA02uXoeBr/T2mJ1DHe6STzasFDC7mWSLefD7nyTMFZFiqo7r7j7SmjH\n7NoBjBo9CAhtcnbwecUbwPjLHmTEIe7SLLae1Dy91u57QBXGNSygucoVcxMX\npWflgxtL5V1yjz1Ni6TMnmq4PGq/XSe7j/+G7ZwVgpq9+PwYhj083H25Yyjo\npsLtTLeo35KNOWtFdDGJZbXMR2vY7UwpJNIZ4AWpM1SoKHtaYvrciwHVif2N\ni3d0pELdZe5aZCuCLnfeVfTx9I6M30dGPBNtqlIZecwUwH1F6EaK/o8W68m4\nMqVdzbHHFU8AvuOoJCNgqxLzd3dc1TCONfa6h2cY7UaSSlM8M/wNBHt/vNOq\n62uQ05zh9xvJakr5qgAWeqHei0LKnY7/HXVQsXzJXDaY3HtPTdjpHIexhXvA\n4zoQvkaEhM5DZYd8VtiPzOV4BfUZzMdE+2kexE0ZapsH4Olv1EtOnLSHfuTA\nqpgEuajKoyEZPuz4L3LiMVUxJ0XKGXS8PngKhbA7P1G2SFj/Li0UoufXZgNd\nXId4\r\n=PWVA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE1tElFF2in4sl8/CKWUWexjwzi9jTqfLZlG6M5yyFyVAiEAvjpensLLp8kzoRf1yiy/Pv3Z9xoiTfeVrIYic34SwnY="}],"size":1747,"noattachment":false,"key":"/hast-util-is-body-ok-link/-/hast-util-is-body-ok-link-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-body-ok-link_1.0.3_1584815244869_0.1791898945869128"},"_hasShrinkwrap":false,"publish_time":1584815245045,"_cnpm_publish_time":1584815245045},"1.0.2":{"name":"hast-util-is-body-ok-link","version":"1.0.2","description":"hast utility to check if a link element is “Body OK”","license":"MIT","keywords":["unified","rehype","hast","link","body","ok"],"repository":{"type":"git","url":"https://github.com/rehypejs/rehype-minify/tree/master/packages/hast-util-is-body-ok-link"},"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"}],"dependencies":{"hast-util-has-property":"^1.0.0","hast-util-is-element":"^1.0.0"},"xo":false,"_id":"hast-util-is-body-ok-link@1.0.2","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-eSxO9rgtb7dfKxNa8NAFS3VEYWHXnJWVsoH/Z4jSsq1J2i4H1GkdJ43kXv++xuambrtI5XQwcAx6jeZVMjoBMQ==","shasum":"5f232779c9dc5a1508ccc18410c32f2dd9a3dc21","tarball":"http://registry-npm.ywwl.com/hast-util-is-body-ok-link/download/hast-util-is-body-ok-link-1.0.2.tgz","fileCount":3,"unpackedSize":4583,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8n/+CRA9TVsSAnZWagAAPzoQAILXPJkfFq0gUYJkeYDt\nM1/jd82nrm0S69iNjg3US+nkIdcPAnfHhnfgN48utHPqGmFiz/cteqozm6rj\nhVuRotwnfaPo35NFi9uKQv5Jof0vZN8Hd8CJdlcTgxaISLbAvKFXtJapzgMa\n8GU7B85APfPkJsJ3OwVv/eGi6Vg0VumB/6coSZ8ATzClH3tqHrgxiopnN0Xg\niT6G5j/mFCLRs6rAf0M+IjrVXeh25m0ruhfSUaPPdLO5c8hTeS6zLUbTEBp0\nMNZyq+s2KHmaBTkW9mvzNfQN/a80xY7ckZ5W4dGs6YzPD4sS7JACuNILUZHt\n0JltzGXYhA3kwOFjEY6K9X+l5x6Pr+4457S/3s6pXsGZuhCDvPW+b1d1TP7F\nKH+QDYgNNm3Mlhy71+8Wk83ZKTxjNgFoyO+b8ruXA8vQhvXxPaXGLhQcUwg2\nuUXxmkhx2IrtdrUiudIphfc4UwyytNDIYFwg/Pz/oDPcezS9DmPIlEkdE1OV\np1lu8m/KvGSkjMRdoaSzZrL2+cuEW+S8GsA5uGLKCL+ygXdumrGIQ3FJXj+J\n+EMYNhNVfex7cTiOQEtx4PSDO8Fzvgmlhqn12Uc7aaX7i7dTbWHlM1fiQXSt\nQP8DqOyQrQPGGrQXX+HkwuTH8x0anLdv1k5CcuhVtQzr9ejENtBzqg9g3T4T\nk0Hu\r\n=nc+v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGbY4B8uDQgeAC8nuTgDaml+Xc25phywlm/b/fxx2AMaAiEA9bIGXtMmXm8KJLDkIkpgy9dMpT5oPW6Zs1vOYg5hjOY="}],"size":1731,"noattachment":false,"key":"/hast-util-is-body-ok-link/-/hast-util-is-body-ok-link-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-body-ok-link_1.0.2_1559396349474_0.4678903177213638"},"_hasShrinkwrap":false,"publish_time":1559396349590,"_cnpm_publish_time":1559396349590},"1.0.1":{"name":"hast-util-is-body-ok-link","version":"1.0.1","description":"Check if a link element is “Body OK”","license":"MIT","keywords":["rehype","hast","link","body","ok"],"repository":{"type":"git","url":"https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-body-ok-link"},"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"],"dependencies":{"hast-util-has-property":"^1.0.0","hast-util-is-element":"^1.0.0"},"xo":false,"_id":"hast-util-is-body-ok-link@1.0.1","_npmVersion":"5.1.0","_nodeVersion":"8.1.2","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"integrity":"sha512-qFDY0oz0lbc0DOcy61BSgJo+wi/ykFs4p95YjrtRP81eNfmBPs/Z0j4WLFmepJ6znfxLlRcPpic8FOdzCD5aKw==","shasum":"f5d8893f4f21fa1ae51c059ac29abdbc8e6e6046","tarball":"http://registry-npm.ywwl.com/hast-util-is-body-ok-link/download/hast-util-is-body-ok-link-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9/bxBQi7cKd48m7Q7DGHDXeNoPGHnSzovX0wktpD03AIgepHye6x31toArDsfV5ddSi3vn41tNEZCNaEcjfeDrZI="}],"size":1188,"noattachment":false,"key":"/hast-util-is-body-ok-link/-/hast-util-is-body-ok-link-1.0.1.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-is-body-ok-link-1.0.1.tgz_1500929353274_0.5045657528098673"},"directories":{},"publish_time":1500929353338,"_cnpm_publish_time":1500929353338},"1.0.0":{"name":"hast-util-is-body-ok-link","version":"1.0.0","description":"Check if a link element is “Body OK”","license":"MIT","keywords":["rehype","hast","link","body","ok"],"repository":{"type":"git","url":"https://github.com/wooorm/rehype-minify/tree/master/packages/hast-util-is-body-ok-link"},"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"],"dependencies":{"hast-util-has-property":"^1.0.0","hast-util-is-element":"^1.0.0"},"_id":"hast-util-is-body-ok-link@1.0.0","scripts":{},"_shasum":"2748245d7c10911fdca94589ca84653272c1c0e5","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.3.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"2748245d7c10911fdca94589ca84653272c1c0e5","tarball":"http://registry-npm.ywwl.com/hast-util-is-body-ok-link/download/hast-util-is-body-ok-link-1.0.0.tgz","integrity":"sha512-NHUGCpNKq+BogTREdvO9cYB0AeNCm3+rT6mbHa4kJ85P0QfRQ1wN7Mg8/Y9bz7ONP1AER+XieKE7SfkA3qFPPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCODQPVtOShJlljcZj+O1SA8U/h1A/IZLW36eG3EtnbCQIgGg6pfDySYFjJFe7AdjtYdr7V5a6jvkNUhEgh+HMPVM8="}],"size":916,"noattachment":false,"key":"/hast-util-is-body-ok-link/-/hast-util-is-body-ok-link-1.0.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/hast-util-is-body-ok-link-1.0.0.tgz_1473340374628_0.6607684111222625"},"directories":{},"publish_time":1473340376468,"_cnpm_publish_time":1473340376468}},"readme":"<!--This file is generated-->\n\n# hast-util-is-body-ok-link\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 `link` element is “body OK”.\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  * [`isBodyOkLink(node)`](#isbodyoklinknode)\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 that, when given a hast node, checks whether it\nis a “body OK” link.\n\n## When should I use this?\n\nYou can use this package to check whether links can exist inside `<body>`\n(outside of `<head>`).\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-body-ok-link\n```\n\nIn Deno with [`esm.sh`][esm-sh]:\n\n```js\nimport {isBodyOkLink} from 'https://esm.sh/hast-util-is-body-ok-link@3'\n```\n\nIn browsers with [`esm.sh`][esm-sh]:\n\n```html\n<script type=\"module\">\n  import {isBodyOkLink} from 'https://esm.sh/hast-util-is-body-ok-link@3?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {h} from 'hastscript'\nimport {isBodyOkLink} from 'hast-util-is-body-ok-link'\n\nisBodyOkLink(h('link', {itemProp: 'foo'})) //=> true\nisBodyOkLink(h('link', {rel: ['stylesheet'], href: 'index.css'})) //=> true\nisBodyOkLink(h('link', {rel: ['author'], href: 'index.css'})) //=> false\n```\n\n## API\n\nThis package exports the identifier\n`isBodyOkLink`.\nThere is no default export.\n\n### `isBodyOkLink(node)`\n\nCheck whether a node is a “body OK” link.\n\nThe following nodes are “body OK” links:\n\n* `link` elements with an `itemProp`\n* `link` elements with a `rel` list where one or more entries are\n  `pingback`, `prefetch`, or `stylesheet`\n\n###### Parameters\n\n* `node` (`Node`) — node to check.\n\n###### Returns\n\nWhether a node is a “body OK” link (`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-body-ok-link@^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-body-ok-link\n\n[downloads-badge]: https://img.shields.io/npm/dm/hast-util-is-body-ok-link.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-body-ok-link\n\n[size-badge]: https://img.shields.io/bundlejs/size/hast-util-is-body-ok-link\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"}