{"_id":"rehype-url-inspector","_rev":"9-bbcfba4386cdd0b931a573b66a9fab5b","name":"rehype-url-inspector","dist-tags":{"latest":"2.0.2"},"versions":{"0.0.1":{"name":"rehype-url-inspector","version":"0.0.1","description":"A rehype plugin to inspect, validate, or rewrite URLs anywhere in an HTML document","keywords":["unified","rehype","plugin","rehype-plugin","url","rewrite","validate","inspect","normalize","404","broken links"],"author":{"name":"James Messinger","url":"https://jamesmessinger.com"},"license":"MIT","homepage":"https://jsdevtools.org/rehype-url-inspector","repository":{"type":"git","url":"git+https://github.com/JS-DevTools/rehype-url-inspector.git"},"main":"lib/index.js","types":"lib/index.d.js","scripts":{"clean":"shx rm -rf .nyc_output coverage lib","lint":"npm run lint:typescript && npm run lint:javascript","lint:typescript":"tslint -p tsconfig.json","lint:javascript":"eslint test","build":"tsc","watch":"tsc --watch","test":"mocha && npm run lint","coverage":"nyc mocha","upgrade":"npm-check -u","bump":"bump --tag --push --all","release":"npm run upgrade && npm run clean && npm run build && npm test && npm run bump"},"engines":{"node":">=8"},"devDependencies":{"@types/chai":"^4.1.7","@types/mocha":"^5.2.7","@types/node":"^12.6.8","@types/unist":"^2.0.3","chai":"^4.2.0","coveralls":"^3.0.5","eslint":"^6.1.0","eslint-config-modular":"^7.0.0","mocha":"^6.2.0","npm-check":"^5.9.0","nyc":"^14.1.1","rehype-parse":"^6.0.1","rehype-stringify":"^6.0.0","shx":"^0.3.2","sinon":"^7.4.1","to-vfile":"^6.0.0","tslint":"^5.18.0","tslint-modular":"^1.4.1","typescript":"^3.5.3","typescript-tslint-plugin":"^0.5.4","unified":"^8.3.2","version-bump-prompt":"^5.0.4"},"dependencies":{"url-regex":"^5.0.0","vfile":"^4.0.1"},"gitHead":"d21e2930b861bdb488bbc585f659b04127798f72","bugs":{"url":"https://github.com/JS-DevTools/rehype-url-inspector/issues"},"_id":"rehype-url-inspector@0.0.1","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-E/9Q/pdz22We9JaPYLSjOKD/u65T2+5FjMYiPpwf5iS/st8GFBpvAR7BVB2VXrEauVTS89IYLh9ZLi9D0wnYUw==","shasum":"51efa8b6abab05beea7ee52b6a4dc9740c870386","tarball":"https://registry.npmjs.org/rehype-url-inspector/-/rehype-url-inspector-0.0.1.tgz","fileCount":27,"unpackedSize":33416,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXzuSCRA9TVsSAnZWagAADdYP/jcdj9tsLu+d4ICCLMAS\n728PunWpvvzGbt9JOaiB+T4xnClX94QOsS1/+MF3SaD/karQu4zOOGJNrYoF\nZU0b3iHnxJj69iEDDH97iLQvl9oG9k0MRUJJjSHtjIBEJvn9sERI1NqBIRtv\nnmal7xtfDNi+6QAIorNiLyL/jzAdQyYdJ2vEfQ3CBn5EzPBwtyh/G5suvdAt\n7vLW7kIyoJYLyH/mILVE5LpAcD1SziI6sz6NSGbc6Vv12YQSRQ+8muCY0Y4m\nijZYnvSuMfJHc7/+bpPEcjwvPjCbO3riTkiI46AfIq5U4cF4nqDWR88wQalR\nK+2yKnUdHSepuCmhBKPP3+mROLc9UUA43V35N4K7o33rtCjuIa6K1OE0IQ+A\nAIhogvTHII8oAkNSKFmAusVl9VeX9KD2idUDKuJ4/2p9sMbVujScIRM0ivUW\nufsQnB55FS0y6EnlTc5CUpRQByy/wPxK57JrYe/LZsuxtIg9UBnuzMdSzrh7\nOe8ZeqYlwIjcerjOlo6vhkIwhXwGBz4gb4BhDSMLechV5SaLb3ziHopSrar1\nRpc4Gcihsyr5IXZUt4m/yUqqfkWcuCAemeSx3kfZYYYrJAXUSVX2Hoe6RFoA\nncpWRsLZxGLPp43MnM0OBmgkHqMxjPvH5QytJKu4Ib5sLftdraG0pNB/UzzX\n0k17\r\n=ZTbq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5Z+1HB7+XpUjIopXy6R0/rFSvB1iMFmO6Gx1wnUzYjQIhAMo+jUhbwgblLukaQttGODef08FFxgW0v3+YK6rzE4lY"}]},"maintainers":[{"name":"jamesmessinger","email":"james.messinger@gmail.com"}],"_npmUser":{"name":"jamesmessinger","email":"james.messinger@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-url-inspector_0.0.1_1566522257734_0.798210780480554"},"_hasShrinkwrap":false},"1.0.0":{"name":"rehype-url-inspector","version":"1.0.0","description":"A rehype plugin to inspect, validate, or rewrite URLs anywhere in an HTML document","keywords":["unified","rehype","plugin","rehype-plugin","url","rewrite","validate","inspect","normalize","404","broken links"],"author":{"name":"James Messinger","url":"https://jamesmessinger.com"},"license":"MIT","homepage":"https://jsdevtools.org/rehype-url-inspector","repository":{"type":"git","url":"git+https://github.com/JS-DevTools/rehype-url-inspector.git"},"main":"lib/index.js","types":"lib/index.d.js","scripts":{"clean":"shx rm -rf .nyc_output coverage lib","lint":"npm run lint:typescript && npm run lint:javascript","lint:typescript":"tslint -p tsconfig.json","lint:javascript":"eslint test","build":"tsc","watch":"tsc --watch","test":"mocha && npm run lint","coverage":"nyc mocha","upgrade":"npm-check -u","bump":"bump --tag --push --all","release":"npm run upgrade && npm run clean && npm run build && npm test && npm run bump"},"engines":{"node":">=8"},"devDependencies":{"@types/chai":"^4.1.7","@types/mocha":"^5.2.7","@types/node":"^12.6.8","@types/unist":"^2.0.3","chai":"^4.2.0","coveralls":"^3.0.5","eslint":"^6.1.0","eslint-config-modular":"^7.0.0","mocha":"^6.2.0","npm-check":"^5.9.0","nyc":"^14.1.1","rehype-parse":"^6.0.1","rehype-stringify":"^6.0.0","shx":"^0.3.2","sinon":"^7.4.1","to-vfile":"^6.0.0","tslint":"^5.18.0","tslint-modular":"^1.4.1","typescript":"^3.5.3","typescript-tslint-plugin":"^0.5.4","unified":"^8.3.2","version-bump-prompt":"^5.0.4"},"dependencies":{"url-regex":"^5.0.0","vfile":"^4.0.1"},"gitHead":"c5d2be92f16374cba2b35c36ee165afdb316848e","bugs":{"url":"https://github.com/JS-DevTools/rehype-url-inspector/issues"},"_id":"rehype-url-inspector@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"jamesmessinger","email":"james.messinger@gmail.com"},"dist":{"integrity":"sha512-2nf3RqTCmmUTac8CMxXN2HYLS7qascbRhWh0opOFwE7O579SIAuSVyMfaAf/ZNLs/QoE0Qrp3FfxX7/d06Xt0A==","shasum":"a0c9f15bba74d9688c3075f9176caec6a620dbcb","tarball":"https://registry.npmjs.org/rehype-url-inspector/-/rehype-url-inspector-1.0.0.tgz","fileCount":24,"unpackedSize":31673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdX7sQCRA9TVsSAnZWagAARAIP/3MK+XJOwiGNr3EHFgW0\n4FMONe7qHs1rsfn1ybjoZBMGIHX7RVco10YHKF6ImWzbWWNfjRj4MTJ0+jom\nyqZBLPyi9rnqtmZ25PNBBfGh254cAQVZKUu1aaXpFOK5mInlFcp7cTvEmnE5\nlZOFRrHH7xF7AXMj2kLeCMI8fURJCOzYvBnk/cXQdx7irfrbllEyrtOq5A/l\neXwMsxo07Xzc7N76TiKRBAEeI5+WpW3qcNnnmjW+Kdsk4I17PC0u+zwH8Z2z\nqMkxk8+nr+GTUD75PXk2NA+IN3eUaL0+z5rQ/TAQjfXFv8woAbfVpDKVAk76\n5vteAMPl5uvhqqMfKAxpNNHCbCkuoIatltckaN1EYliZD9fMWxEJXMiNMqDC\nSjAxS/IbhwKNU45YHFG0pBvACINO8kJAlRYAc4SoSguhz6GCv3aA31AuXSwO\nGo4JfDB+YzUMoxus31uuPBIlxl3ZREujf0Ha8kwGXvJWZNmaEWuZ5qnHXmAm\n/Q+7sG54CXOpyhwAiIloPbVjmqkvOToGMfh50AyvPmBfdagvmhQDD94j2j03\nI3lsWxDrC9cMe/gy4UKPOmeeidie/vTbN+sX7An1zfrWe60yPnE9KTmS9kvi\njZPZedVu2pMKuo8IagE3GrLiUc7rS4UPM1Pj2YHIeh9J706IUXUsvfZ2JXgu\nibjH\r\n=d3Y/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKjeql67DTVXQslXfCa+7aVgzvVH6xr7QpARveTp1GWAIgF7L+ci0oSlTlPZD99OuQSs8COb12DrJ+SHQ7rb6LQGI="}]},"maintainers":[{"name":"jamesmessinger","email":"james.messinger@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-url-inspector_1.0.0_1566554895442_0.6155549880645279"},"_hasShrinkwrap":false},"1.0.1":{"name":"rehype-url-inspector","version":"1.0.1","description":"A rehype plugin to inspect, validate, or rewrite URLs anywhere in an HTML document","keywords":["unified","rehype","plugin","rehype-plugin","url","rewrite","validate","inspect","normalize","404","broken links"],"author":{"name":"James Messinger","url":"https://jamesmessinger.com"},"license":"MIT","homepage":"https://jsdevtools.org/rehype-url-inspector","repository":{"type":"git","url":"git+https://github.com/JS-DevTools/rehype-url-inspector.git"},"main":"lib/index.js","types":"lib/index.d.js","scripts":{"clean":"shx rm -rf .nyc_output coverage lib","lint":"npm run lint:typescript && npm run lint:javascript","lint:typescript":"tslint -p tsconfig.json","lint:javascript":"eslint test","build":"tsc","watch":"tsc --watch","test":"mocha && npm run lint","coverage":"nyc mocha","upgrade":"npm-check -u","bump":"bump --tag --push --all","release":"npm run upgrade && npm run clean && npm run build && npm test && npm run bump"},"engines":{"node":">=8"},"devDependencies":{"@types/chai":"^4.1.7","@types/mocha":"^5.2.7","@types/node":"^12.6.8","@types/unist":"^2.0.3","chai":"^4.2.0","coveralls":"^3.0.5","eslint":"^6.1.0","eslint-config-modular":"^7.0.0","mocha":"^6.2.0","npm-check":"^5.9.0","nyc":"^14.1.1","rehype-parse":"^6.0.1","rehype-stringify":"^6.0.0","shx":"^0.3.2","sinon":"^7.4.1","to-vfile":"^6.0.0","tslint":"^5.18.0","tslint-modular":"^1.4.1","typescript":"^3.5.3","typescript-tslint-plugin":"^0.5.4","unified":"^8.3.2","version-bump-prompt":"^5.0.4"},"dependencies":{"url-regex":"^5.0.0","vfile":"^4.0.1"},"gitHead":"5916d7509ab7d4fe0b43c902448e5b5412074c8c","bugs":{"url":"https://github.com/JS-DevTools/rehype-url-inspector/issues"},"_id":"rehype-url-inspector@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"jamesmessinger","email":"james.messinger@gmail.com"},"dist":{"integrity":"sha512-FgImdEtyAvWGsyM3NxiYPHCxfymaQZu0g4G2ADqx82HVrMPC6bmTEpP8R+/uTA8H3cnis7GVFT9MOGa754+dGQ==","shasum":"cbe3d230ce80015ed009c903400e7d01fc1b07ca","tarball":"https://registry.npmjs.org/rehype-url-inspector/-/rehype-url-inspector-1.0.1.tgz","fileCount":24,"unpackedSize":31649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdX9B1CRA9TVsSAnZWagAAsJkP/iDfZ60OsXb8N+n86LLc\nUQIuT2CQ5BNHavU0C4qbuhXSzdPDjfnSm95skaELRBe5qPRMMALkaWqOW//5\n34WOxpI7gKFEve0h6B5JEORI21xfaNNtgHvfJVdUXxKdyLtNHOdSAQgMPiq8\nU77Wjviay/oCZ45akg/UulCpqfKHWnIENLwCAUdMTkFLPFNnCKailDYt3zxT\nPIE6d47NfWZzDur749vdEh9/dJy1cgRmSZ7hty0NVnHen7fh8Y9onhxUm/UL\nlsDTWTa6kMWvQ/Bpf3odAojqBzfHXRkLMmbuHyVyp+9vkhRkKPx//lFWpU6d\nepBpVSALWjvxSx9HmxttUWptFggsWZbhXte+kA1scrgjXARDE6RfsPD78+D0\nRmkZe5S1qqXwckl6iP0p4aAyQHwUAMah0bGDfbbdeF66X2w45hGxpurUd1Te\n5plmidrlPxoCLVbQLtpYj+LWqbEHCiX2ghUGTZ7icZXf+DBd8H7Asond6anu\nHg3bYOPpcV8SNs5qS83OKKWt+dIw8O83utrAlmnnAjmUBm4J/LrnDTIlY23T\nDDz5zWiwt5INji29RN2xxQ/qJPKl8JWHmC9jcd23q+I/OjQhi/GBClNrruz7\nozEFO8f1wML00GRhib/1xJMp8WAGIZggTYpiOJoZxPRYkBBtzfWiRUpsjj4R\noUDy\r\n=FGyW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICshkCgX/uaRePTMa+QyTF/A4HU888xTtGwSQhmYGNazAiAvj0/LTJj2EYnIug0feic1xlCJW71wBlXiKr6139UfHw=="}]},"maintainers":[{"name":"jamesmessinger","email":"james.messinger@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-url-inspector_1.0.1_1566560373277_0.4377313548230459"},"_hasShrinkwrap":false},"1.0.2":{"name":"rehype-url-inspector","version":"1.0.2","description":"A rehype plugin to inspect, validate, or rewrite URLs anywhere in an HTML document","keywords":["unified","rehype","plugin","rehype-plugin","url","rewrite","validate","inspect","normalize","404","broken links"],"author":{"name":"James Messinger","url":"https://jamesmessinger.com"},"license":"MIT","homepage":"https://jstools.dev/rehype-url-inspector","repository":{"type":"git","url":"git+https://github.com/JS-DevTools/rehype-url-inspector.git"},"main":"lib/index.js","types":"lib/index.d.js","scripts":{"clean":"shx rm -rf .nyc_output coverage lib","lint":"npm run lint:typescript && npm run lint:javascript","lint:typescript":"tslint -p tsconfig.json","lint:javascript":"eslint test","build":"tsc","watch":"tsc --watch","test":"mocha && npm run lint","coverage":"nyc mocha","upgrade":"npm-check -u","bump":"bump --tag --push --all","release":"npm run upgrade && npm run clean && npm run build && npm test && npm run bump"},"engines":{"node":">=8"},"devDependencies":{"@types/chai":"^4.1.7","@types/mocha":"^5.2.7","@types/node":"^12.6.8","@types/unist":"^2.0.3","chai":"^4.2.0","coveralls":"^3.0.5","eslint":"^6.2.2","eslint-config-modular":"^7.0.1","mocha":"^6.2.0","npm-check":"^5.9.0","nyc":"^14.1.1","rehype-parse":"^6.0.1","rehype-stringify":"^6.0.0","shx":"^0.3.2","sinon":"^7.4.1","to-vfile":"^6.0.0","tslint":"^5.18.0","tslint-modular":"^1.6.0","typescript":"^3.5.3","typescript-tslint-plugin":"^0.5.4","unified":"^8.3.2","version-bump-prompt":"^5.0.5"},"dependencies":{"url-regex":"^5.0.0","vfile":"^4.0.1"},"gitHead":"2c74fe62d9fc41a726da637e89a35be9172a2a02","bugs":{"url":"https://github.com/JS-DevTools/rehype-url-inspector/issues"},"_id":"rehype-url-inspector@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.1","_npmUser":{"name":"jamesmessinger","email":"james.messinger@gmail.com"},"dist":{"integrity":"sha512-ESusVKPjSvLLWNUCUdqwXHD1lO5PlXaqvrIMF/D243X2iOi74VLg/rz57gVpWDpC2ZNfeoXa5A357o5MoFAdIA==","shasum":"ec3505f4d87deeda06dcc5c47a3a44eeeafe4ef2","tarball":"https://registry.npmjs.org/rehype-url-inspector/-/rehype-url-inspector-1.0.2.tgz","fileCount":24,"unpackedSize":31634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdYr91CRA9TVsSAnZWagAAQdEP/1DgEb7Lhqo0t/yhqFOf\nBNAgI/PZikJBa5iGj0qBSdl2SU2JAX+/D31Ikp9NK8kqH+H4guBu/SWICQTm\ndDj0c1RyGX8v+lJLRv42+7bfG9IwBpLBYoLZ5tuK54tMUax18dS1277YYaMm\npUh0rpIq1XTLnTizBBul6YZ3tPaIktMSAo9WbzKkJxkCN4xraWMT7J0V34MB\ny7nxdsTOah0KkY7qTCKYT2TS5/n4N6eaIbTCV9tAwyUmiWJ5bmtFOB37SxuF\nZq9ycQ89eLBIpJUA+mW3YlwOpf4pUAoXgpTwSoejZEADf+tvSQ/QEXo074cH\n36g2UVEDQuG71SP1FcBQoatr2YhXffJCIsqh890J5ORNimZkW7x+fLQDpnwI\nTdHntrMy2cJ7f3IWnsolNjGH0vOYaL1KsRMLIVOE+u8H44T4rYv7tQk/vT0c\nlrrL15lBNtiSPzK8VvqdFBJQkuBsM2ioqWsxiWU5IPMPmIyEq37YjqWcPoQN\n0EZl+BRYf1Fx6Menpgj5idsS+7LBdk3WM2mwnlEhWGvA4mc6FP6pFhGQACzs\nC0Uh2g91Z6BLOfwWVWJK4ogE7/A/GD1qDT4cu3K1V9QDdA9hysQovbyfYaC3\nUgCVuOZTXV4JwtKkqY4I2K8wDejYwx/guk2gelu1WW7XGvY9HjNzS5hBUXIe\n9mLi\r\n=/W6o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCROL6URXvGA9gfXrVEsnHUSTXoRa53q78zekAQ4YfuywIgc6K7RYA8mMQK3q0JulQFqmnWTJi2gJpEVkUNMITVpl4="}]},"maintainers":[{"name":"jamesmessinger","email":"james.messinger@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-url-inspector_1.0.2_1566752628402_0.6307608561725657"},"_hasShrinkwrap":false},"1.0.3":{"name":"rehype-url-inspector","version":"1.0.3","description":"A rehype plugin to inspect, validate, or rewrite URLs anywhere in an HTML document","keywords":["unified","rehype","plugin","rehype-plugin","url","rewrite","validate","inspect","normalize","404","broken links"],"author":{"name":"James Messinger","url":"https://jamesmessinger.com"},"license":"MIT","homepage":"https://jstools.dev/rehype-url-inspector","repository":{"type":"git","url":"git+https://github.com/JS-DevTools/rehype-url-inspector.git"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"clean":"shx rm -rf .nyc_output coverage lib","lint":"npm run lint:typescript && npm run lint:javascript","lint:typescript":"tslint -p tsconfig.json","lint:javascript":"eslint test","build":"tsc","watch":"tsc --watch","test":"mocha && npm run lint","coverage":"nyc node_modules/mocha/bin/mocha","upgrade":"npm-check -u","bump":"bump --tag --push --all","release":"npm run upgrade && npm run clean && npm run build && npm test && npm run bump"},"engines":{"node":">=8"},"devDependencies":{"@types/chai":"^4.2.4","@types/mocha":"^5.2.7","@types/node":"^12.11.5","@types/unist":"^2.0.3","chai":"^4.2.0","coveralls":"^3.0.7","eslint":"^6.5.1","eslint-config-modular":"^7.0.1","mocha":"^6.2.2","npm-check":"^5.9.0","nyc":"^14.1.1","rehype-parse":"^6.0.1","rehype-stringify":"^6.0.0","shx":"^0.3.2","sinon":"^7.5.0","to-vfile":"^6.0.0","tslint":"^5.20.0","tslint-modular":"^1.6.0","typescript":"^3.6.4","typescript-tslint-plugin":"^0.5.4","unified":"^8.4.1","version-bump-prompt":"^5.0.5"},"dependencies":{"url-regex":"^5.0.0","vfile":"^4.0.1"},"gitHead":"4ae8ee3c0fb695812103d41bbd6d70ea9555ea8f","bugs":{"url":"https://github.com/JS-DevTools/rehype-url-inspector/issues"},"_id":"rehype-url-inspector@1.0.3","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"jamesmessinger","email":"james.messinger@gmail.com"},"dist":{"integrity":"sha512-6dbNUmwwx5PLklDZV/PsJgE/os8nDFrLI2YmFwSy2RCM1b8jylcatEca2VBlNl26WYPy/kHTLLg9FQaa2L2ZUg==","shasum":"34a9821d755aaf893396a98b357198d3f9d0792d","tarball":"https://registry.npmjs.org/rehype-url-inspector/-/rehype-url-inspector-1.0.3.tgz","fileCount":24,"unpackedSize":31658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsDQKCRA9TVsSAnZWagAAyasP/3kb6O63kypMKewHUdYf\n1eNUlTRIUqoEY5U1xUanoTA2iXpRjjN9FOOH9kY7XmeBpjUW1UcWrqWrShXd\nFBXoFpnVE2dXHO7edCfsFgDIp9ih2uL+rlUvzYpYdszQEUjq/g4CFxcE0YIi\nT3MhvgRfk/BfODyc0/vqXg9RJXKT3nIioyBDjUnwug+WGezAuXO83Ctxl2tP\n9i+3DnA8oIEPgkep1yB6MvXxkXVKzrb4sLT3fvRlOEPeXqXasj0wWkDMss9X\nrrPz2u9PuUsbsX0axxZBzHP6ykavoPT0zbW9aPKmsU1/QWWSd9futO00hz6q\ncN7bN8RrrZOBhH2XC+S8Vi7anVOQ5CeFtcdmJHL90cxeJTbHhons8NAzosKD\nxgrAJXznD+cV2Vxw6PJF0Qv7lvSc/80WHNAWbCU4iM1WGTtAIj/BjAQMiFGT\nepoCvE2WdYBbZxlMUOLqKMD81jWdJPNOwH0qgQ617sOJ8bkJajsNY8zLaZwT\neK9DdFLCtMatC2ip5oDu8SgIkeLjmAhCj2Q4DjywyhESoFkgieC+J8PhaLM2\nd4m5sZ1NQ+rnR0BNFSIpcWfNiXLqHh/1cE+3w4sJmzTamW/5La1fIOfseoif\nk3ekuP11JYt9LLcGbdYrYgQiXhUJuVd3BXWullQ6Yw/RWFMKc/s7dTq2yXj/\nPU4F\r\n=3o0Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBPoVWWToHA76EbV+Dzt+aQ1N6nqKZD2sSc3aOZD7kj2AiBiYE7qM7f+m4tEJ+5LN+XJzCEIZx6wd47UfJ5rQoA2Lw=="}]},"maintainers":[{"name":"jamesmessinger","email":"james.messinger@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-url-inspector_1.0.3_1571828746257_0.7609658521041005"},"_hasShrinkwrap":false},"1.0.4":{"name":"rehype-url-inspector","version":"1.0.4","description":"A rehype plugin to inspect, validate, or rewrite URLs anywhere in an HTML document","keywords":["unified","rehype","plugin","rehype-plugin","url","rewrite","validate","inspect","normalize","404","broken links"],"author":{"name":"James Messinger","url":"https://jamesmessinger.com"},"license":"MIT","homepage":"https://jstools.dev/rehype-url-inspector","repository":{"type":"git","url":"git+https://github.com/JS-DevTools/rehype-url-inspector.git"},"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"clean":"shx rm -rf .nyc_output coverage lib","lint":"npm run lint:typescript && npm run lint:javascript","lint:typescript":"tslint -p tsconfig.json","lint:javascript":"eslint test","build":"tsc","watch":"tsc --watch","test":"mocha && npm run lint","coverage":"nyc node_modules/mocha/bin/mocha","upgrade":"npm-check -u && npm audit fix","bump":"bump --tag --push --all","release":"npm run upgrade && npm run clean && npm run build && npm test && npm run bump"},"engines":{"node":">=8"},"devDependencies":{"@types/chai":"^4.2.5","@types/mocha":"^5.2.7","@types/node":"^12.12.11","@types/unist":"^2.0.3","chai":"^4.2.0","coveralls":"^3.0.8","eslint":"^6.7.0","eslint-config-modular":"^7.0.1","mocha":"^6.2.2","npm-check":"^5.9.0","nyc":"^14.1.1","rehype-parse":"^6.0.2","rehype-stringify":"^6.0.1","shx":"^0.3.2","sinon":"^7.5.0","to-vfile":"^6.0.0","tslint":"^5.20.1","tslint-modular":"^1.6.0","typescript":"^3.7.2","typescript-tslint-plugin":"^0.5.5","unified":"^8.4.2","version-bump-prompt":"^5.0.6"},"dependencies":{"url-regex":"^5.0.0","vfile":"^4.0.2"},"gitHead":"a09e7f6b800817b3d49b0c7a10128de7048456b7","bugs":{"url":"https://github.com/JS-DevTools/rehype-url-inspector/issues"},"_id":"rehype-url-inspector@1.0.4","_npmVersion":"6.4.1","_nodeVersion":"8.16.2","_npmUser":{"name":"jamesmessinger","email":"james.messinger@gmail.com"},"dist":{"integrity":"sha512-4mC3S2oTuwnPLOQu9EKovZX0SfZknGAIZ+p4jxj7W/9NyN8bMn1rIlgSiy1ERcIoa3HXqLCyWJygmmyiqmYxvA==","shasum":"23ca141923db1ea2ad1426ed5384725cdcd1e895","tarball":"https://registry.npmjs.org/rehype-url-inspector/-/rehype-url-inspector-1.0.4.tgz","fileCount":24,"unpackedSize":31676,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd2DCeCRA9TVsSAnZWagAAwEEP/is9Oh0r+46xPsYohn9U\nIU/zdelbeJBz0cXmI29HTqHpP549obqwo+BT8tgrz7oCkgfV0NgO2538GxfP\nS6yNG03V41RDCFlOLYZ5OeRre1LJ7LleWXCe0NViqSjmiYzvu9U2cWbXcHzd\nnG9p0Z4ZI8rK+AjIOVLwzRfCFxOxnO8+3zw6adacqfQuWpZfBlJNdSNR7OXv\nGGa/lfl7FaEaf+0+TuyzF4z+qSROVHAbwLp7jtarEaa28Fo9qK4f9WBmGmsb\nT1nwY2Z3469Wefv+mCdyJpzvGxjtn5Q8cToVOHsOZnbIbfCf025P2+QpxrcH\nQT/mJyFfNfoGCUOJhXjgBR2TdV+T21yJV49b9BhAi1OW6h+A/3MgOvElh6mJ\nf/cSQiVM9Gyp9zU9+DfA7UMsD3dBF4RyJDBdEn9gv1W3bcRDK2mkL9lByU69\nYPmAakhf7b/hVJsu1LZ3gWFSbNJ9Lc4/hDNOexhd2ulsGk+p7vD6/nUjc1fQ\nK2dw8yyvRa0ikzUxCR7FaQIsp1OjAwNBahr8rarGirr9X+qIKyASWwxJ4GT9\nW69qluVlQljdQ/XpWBtrPa27MbPWFng1Y3HTBl62z6FYxQQSKyxxYiKvuc0n\ntEbxGtPFlInG8DzZjiTNQTmZhxHtrFJ062BAtBuwRvkCpbFllV8HShVkmaz8\np3SZ\r\n=BDZq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGbstBZpGuKAHtRmvi2bhvSt4fh9cY8hItuxEMlOyR9tAiAUelbnEePcFiLSuqoerklCPS7WuYVin8bxoTyoJq57nA=="}]},"maintainers":[{"name":"jamesmessinger","email":"james.messinger@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-url-inspector_1.0.4_1574449310400_0.12674739583376704"},"_hasShrinkwrap":false},"2.0.0":{"name":"rehype-url-inspector","version":"2.0.0","description":"A rehype plugin to inspect, validate, or rewrite URLs anywhere in an HTML document","keywords":["unified","rehype","plugin","rehype-plugin","url","rewrite","validate","inspect","normalize","404","broken links"],"author":{"name":"James Messinger","url":"https://jamesmessinger.com"},"license":"MIT","homepage":"https://jstools.dev/rehype-url-inspector","repository":{"type":"git","url":"git+https://github.com/JS-DevTools/rehype-url-inspector.git"},"main":"index.js","types":"index.d.ts","engines":{"node":">=10"},"dependencies":{"@jsdevtools/rehype-url-inspector":"2.0.0"},"bugs":{"url":"https://github.com/JS-DevTools/rehype-url-inspector/issues"},"_id":"rehype-url-inspector@2.0.0","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-vYOXe9dHdEgzbVn+FC/IdMTTABk8WiP9W5W4+XKdYIt7bZT3h9MW9cPKwFxy8UlHSiCMH6J1addO3AyEJZszVA==","shasum":"03b07af55976e28154606392b5922156f4492de5","tarball":"https://registry.npmjs.org/rehype-url-inspector/-/rehype-url-inspector-2.0.0.tgz","fileCount":6,"unpackedSize":12999,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeS75NCRA9TVsSAnZWagAAz18P/j1w1suv+XxKC0yOKZNQ\nT8eUvYuU7IScRm5QfSKKtlVVEUknXXVzjN2a8cP9/0r/nl9MzRico390lU0m\n9FJMh0J+03nERR12EXg5lOktKx0GjOOCDBQaqLTqT0jRceGSQktNFK1uKBGX\nrTswA2u0yHFuEOKvp5+v2xxrKLXAeKxGig3VwUy6mzFQzIeFBd8Ofu5s4Tta\nbGAHKlAgrRUZErdC7XlZc2yGH5komgsFfmyNfyiJmNJbCXv7TDheeypjw+2g\n6YOfLexN2lFLh03rPAgyoHOWun4U0ByLjTOvFK6VSbKiUla3ujYaUqHovjb3\nFjajBtXxFXxviZ7Ph7cq2005mP3vRUar8GiYoi4OZGMFTdSNPdQevqqxRC2s\n7/XuT9/Z1cIzxpzkHberS1QNbje4glqY2GMA2zmHmFSaGQEpDqFXzqT5c777\neMh0dwhE6JjX5XaHscHySky36gLgctk2gunkMIbmrdPp9KFf4sAPEnKKtXJc\niJYZOLfmJghSye5qNYgs+9vjWnFzScpGczlSDCPgTZa+o4Oa+bkQKNuaEHwy\nW/By4stCzeIyKrNIOYXI2gBvENOQqpOZhFJQnDtd6V3WSh/culN43wp//SUA\n3lVSDjBeLa3M8NJhb8zYmRyIO87VXSKC1tbYsRp8TGnSe7ghTQ61unrmYmDN\nmUvR\r\n=GZXd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICYJ3c3dDz+skbuFpTujaTAu1fPpMAybhBujtZ3TiHPHAiAwq0IKYXpXZdHZ23iMkkg0trIfVsdASXDNEx1iDUpwbg=="}]},"maintainers":[{"name":"jamesmessinger","email":"james.messinger@gmail.com"}],"_npmUser":{"name":"jamesmessinger","email":"james.messinger@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-url-inspector_2.0.0_1582022220995_0.44913078463896183"},"_hasShrinkwrap":false},"2.0.1":{"name":"rehype-url-inspector","version":"2.0.1","description":"A rehype plugin to inspect, validate, or rewrite URLs anywhere in an HTML document","keywords":["unified","rehype","plugin","rehype-plugin","url","rewrite","validate","inspect","normalize","404","broken links"],"author":{"name":"James Messinger","url":"https://jamesmessinger.com"},"license":"MIT","homepage":"https://jstools.dev/rehype-url-inspector","repository":{"type":"git","url":"git+https://github.com/JS-DevTools/rehype-url-inspector.git"},"main":"index.js","types":"index.d.ts","engines":{"node":">=10"},"dependencies":{"@jsdevtools/rehype-url-inspector":"2.0.1"},"bugs":{"url":"https://github.com/JS-DevTools/rehype-url-inspector/issues"},"_id":"rehype-url-inspector@2.0.1","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-xgDcpK7ngz992v5MtMN9OETNY1eFG8080MLujIq2usaMkoYu6u0BImzUH3ZgO4ab6ox2g8guD1kt6FZeO0eJQQ==","shasum":"121d7cdb0494a42e7e5fd25aff3f1f9d0590a2da","tarball":"https://registry.npmjs.org/rehype-url-inspector/-/rehype-url-inspector-2.0.1.tgz","fileCount":6,"unpackedSize":13485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJebkQqCRA9TVsSAnZWagAAKwMP/04WhpR1/OO8w04Wzhqq\nkWo7fCYhkgPyEavJaSvYx0/d0MQcvVZnfeONGHJzRvcY91FpH1OSj8KsPgqn\n00oP1FO9Y4CKN0+bYCRrdcCeOV/A6/gwyiD5/dd0hdfUjXRQIwR8FKWuSdRV\n7rYy+nu/GJeTzzSxWvCrldUY06hDnQr8fBuvOfNuhYKVS8BPiU1FD5pMrwBh\nO4fhgmPE6tTa3dcz7pr+E6Wka9dvrIXJWdiBT72pm95LSEsfGBjKQRp5SF1t\neLFoyeCodsqVFgE4GwXZzwAH9ZBbmz8rkXmpeH+3S50yp/37spWioPhMWXd4\n4e6Opj6rWKvw10/D90eVyabLVkZc6uZ4qZSfm6+v3NlygOFdip42MuD8dztH\nFHxhHXKAAs6UUhfEo288PhKb/g8RUgkh+GbJlX+EbxzeZ5s9Wb2dZmIB+Va1\n2Aqs5uKX75eyOIVaqDiQ7kg5UsmdQGjeopZlgOarBPJZLDTI93EuF5Et+2sO\nimEfT9v7qna7iv6fVJBGWNpQbjJpm6V9DV8zR0C4U3W+XinvY280ksLhWXqB\nTxg6GVcFvlYn7Yg3r/QtIOiBKCZp/XOBNy9P4VxFZx66stwOEerRx0/URNzQ\nfWEnKp/1hDExQOhMvbV0czYwi7DCj+kLph9rhylg5oagmDmVfO03HqvJrVOq\n1AlO\r\n=Qd0I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID3vf1NuhdPC7AsDtdvFPgZHMWz8sABoNLfn9TT0lVmDAiA2vli4hyOxwv3QuB9aIcwYNEmtYkosHtX48fyw2rjzHg=="}]},"maintainers":[{"name":"jamesmessinger","email":"james.messinger@gmail.com"}],"_npmUser":{"name":"jamesmessinger","email":"james.messinger@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-url-inspector_2.0.1_1584284713531_0.1836400680609831"},"_hasShrinkwrap":false},"2.0.2":{"name":"rehype-url-inspector","version":"2.0.2","description":"A rehype plugin to inspect, validate, or rewrite URLs anywhere in an HTML document","keywords":["unified","rehype","plugin","rehype-plugin","url","rewrite","validate","inspect","normalize","404","broken links"],"author":{"name":"James Messinger","url":"https://jamesmessinger.com"},"license":"MIT","homepage":"https://jstools.dev/rehype-url-inspector","repository":{"type":"git","url":"git+https://github.com/JS-DevTools/rehype-url-inspector.git"},"main":"index.js","types":"index.d.ts","engines":{"node":">=10"},"dependencies":{"@jsdevtools/rehype-url-inspector":"2.0.2"},"bugs":{"url":"https://github.com/JS-DevTools/rehype-url-inspector/issues"},"_id":"rehype-url-inspector@2.0.2","_nodeVersion":"10.21.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-mMbllcH41iweCClditEVD+dCntCdItKJh+ajh8XdjhdaPPvHOy0RW0Fa1Il4+Zq0yvAaqG/dGCrlDyW79X/rhA==","shasum":"cf7866dc158cbf42cb51af7dad89c5c19ec0f0a7","tarball":"https://registry.npmjs.org/rehype-url-inspector/-/rehype-url-inspector-2.0.2.tgz","fileCount":6,"unpackedSize":13419,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfE1TECRA9TVsSAnZWagAADB0P/jDEpODQaCiB7PnFRKyo\n7DPNJsTn+oVM7QOcr/aoBGt9AHoRPU96LaJRDBkLd417h4uCEc2V100Kh6pL\n3Bq7dK31KJKZJqk2G7GVMO/WGW6gMejI5DaM7PQIB/U/9jgRVq31XxZpDXNV\ncNrSpxtYhBfuXkZUEPO6psGNsiB49mFNvMEKplINrZRoEcdUk0lZTg5nS54B\nxso3Lb3wE6MfwnxqaNqnm++thsmPX9vBGGLs+Jlv+1C5pvz/S/6cvl0E8HIT\n+OekeCm3kbD22efdn+jcECu/q2CrfB2nebRoDQ2idJqOElcv7dXSqRMwFj0a\npW0Jl3PzFAnxxBUA1cgXbfKRWxQA4cnqmBrX8EHKZ1Kwwfu57/WVOOtuV27o\nzHgdSzRcoNWypNhuhv5cfbFJJGs0+MRoTVlSNvQyoN+rU2WOwyLPKaTy+X6F\nn9EUrIJAtFQWEU6jf2Zp+NjEwqN9OZFbvmrCd3HhB8ftPo+/fXLC1rTKU5wr\nk+WNzFbe6QMgbWsc4BnuT9HEDS5occghsaYNFWTN+TMCG9yVOzcx3LFR1jqd\nInBJoCYC4tXg3BCq/+gx+EnD9QxmQ3BhzCWD9gmhSTeEgZnysL3Fzjsx1+uu\nddtOIfVSqUjUlLmRzWR0D8JM7q0T4R/NYOiRHqEevIg30EMrTC/qZ21K33lQ\nL1lP\r\n=aBR4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBPlpAC0jn3ySnJhzhI4Yl+GpT0T4aOzDmfrkvdQbC33AiBemck807GM5evDzlnjs59XCWVzF4NRV2M1P6vq4z1H4w=="}]},"maintainers":[{"name":"jamesmessinger","email":"james.messinger@gmail.com"}],"_npmUser":{"name":"jamesmessinger","email":"james.messinger@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-url-inspector_2.0.2_1595102403867_0.929821166804983"},"_hasShrinkwrap":false}},"time":{"created":"2019-08-23T01:04:17.733Z","0.0.1":"2019-08-23T01:04:17.945Z","modified":"2022-05-15T17:23:26.481Z","1.0.0":"2019-08-23T10:08:15.632Z","1.0.1":"2019-08-23T11:39:33.412Z","1.0.2":"2019-08-25T17:03:48.563Z","1.0.3":"2019-10-23T11:05:46.434Z","1.0.4":"2019-11-22T19:01:50.626Z","2.0.0":"2020-02-18T10:37:01.128Z","2.0.1":"2020-03-15T15:05:13.707Z","2.0.2":"2020-07-18T20:00:04.028Z"},"maintainers":[{"name":"jamesmessinger","email":"james.messinger@gmail.com"}],"description":"A rehype plugin to inspect, validate, or rewrite URLs anywhere in an HTML document","homepage":"https://jstools.dev/rehype-url-inspector","keywords":["unified","rehype","plugin","rehype-plugin","url","rewrite","validate","inspect","normalize","404","broken links"],"repository":{"type":"git","url":"git+https://github.com/JS-DevTools/rehype-url-inspector.git"},"author":{"name":"James Messinger","url":"https://jamesmessinger.com"},"bugs":{"url":"https://github.com/JS-DevTools/rehype-url-inspector/issues"},"license":"MIT","readme":"Rehype URL Inspector\n==============================\n### A [rehype](https://github.com/rehypejs/rehype) plugin to inspect, validate, or rewrite URLs anywhere in an HTML document\n\n[![Cross-Platform Compatibility](https://jstools.dev/img/badges/os-badges.svg)](https://github.com/JS-DevTools/rehype-url-inspector/actions)\n[![Build Status](https://github.com/JS-DevTools/rehype-url-inspector/workflows/CI-CD/badge.svg)](https://github.com/JS-DevTools/rehype-url-inspector/actions)\n\n[![Coverage Status](https://coveralls.io/repos/github/JS-DevTools/rehype-url-inspector/badge.svg?branch=master)](https://coveralls.io/github/JS-DevTools/rehype-url-inspector)\n[![Dependencies](https://david-dm.org/JS-DevTools/rehype-url-inspector.svg)](https://david-dm.org/JS-DevTools/rehype-url-inspector)\n\n[![npm](https://img.shields.io/npm/v/@jsdevtools/rehype-url-inspector.svg)](https://www.npmjs.com/package/@jsdevtools/rehype-url-inspector)\n[![License](https://img.shields.io/npm/l/@jsdevtools/rehype-url-inspector.svg)](LICENSE)\n[![Buy us a tree](https://img.shields.io/badge/Treeware-%F0%9F%8C%B3-lightgreen)](https://plant.treeware.earth/JS-DevTools/rehype-url-inspector)\n\n\n\nFeatures\n--------------------------\n- Inspect every URL on an HTML page and do whatever you want to, such as:\n  - Normalize URLs\n  - Check for broken links\n  - Replace URLs with different URLs\n  - Add attributes (like `target=\"blank\"`) to certain links\n\n- Finds **all types of URLs** by default, such as:\n  - `<a href=\"http://example.com\">`\n  - `<img src=\"img/logo.png\">`\n  - `<link rel=\"stylesheet\" href=\"/css/main.css\">`\n  - `<link rel=\"manifest\" href=\"/site.manifest\">`\n  - `<meta rel=\"canonical\" content=\"https://example.com/some/page/\">`\n  - `<meta property=\"og:image\" content=\"img/logo.png\">`\n  - `<script src=\"//example.com/script.js\">`\n  - `<script type=\"application/ld+json\">{\"url\": \"www.example.com\"}</script>`\n  - `<style>body { background: url(\"/img/background.png\"); }</style>`\n\n- You can remove the built-in URL rules\n- You can add your own **custom URL rules**\n- You can abort the URL search at any time\n\n\nExample\n--------------------------\n\n**example.html**<br>\nThis HTML file contains many different types of URLs:\n\n```html\n<html>\n  <head>\n    <link rel=\"canonical\" href=\"http://example.com/some/page/\">\n    <link rel=\"manifest\" href=\"/site.webmanifest\">\n    <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/img/favicon.png\">\n    <link rel=\"stylesheet\" type=\"text/css\" href=\"/css/main.css?v=5\">\n\n    <meta name=\"twitter:url\" content=\"http://example.com/some/page/\">\n    <meta name=\"twitter:image\" content=\"http://example.com/img/logo.png\">\n\n    <script type=\"application/ld+json\">\n      {\n        \"@context\": \"http://schema.org\",\n        \"headline\": \"Hello, World!\",\n        \"url\": \"http://example.com/some/page/\",\n        \"image\": \"http://example.com/img/logo.png\"\n      }\n    </script>\n\n    <style>\n      body {\n        background: #ffffff url(\"img/background.png\") center center no-repeat;\n      }\n    </style>\n  </head>\n  <body>\n    <h1>\n      <a href=\"/\">\n        <img src=\"/img/logo.png\"> Hello World\n      </a>\n    </h1>\n    <p>\n      <a href=\"//external.com\" target=\"_blank\">Lorem ipsum</a> dolor sit amet,\n      non dignissim dolor. Sed diam tellus, <a href=\"some-page.html\">malesuada, dictum nulla</a>.\n    </p>\n\n    <script src=\"//external.com/script.js\"></script>\n  </body>\n</html>\n```\n\n**example.js**<br>\nThis script reads the `example.html` file above and finds all the URLs in it. The script uses [unified](https://unifiedjs.com/), [rehype-parse](https://github.com/rehypejs/rehype/tree/master/packages/rehype-parse), [rehype-stringify](https://github.com/rehypejs/rehype/tree/master/packages/rehype-stringify), and [to-vfile](https://github.com/vfile/to-vfile).\n\n\n```javascript\nconst unified = require(\"unified\");\nconst parse = require(\"rehype-parse\");\nconst inspectUrls = require(\"@jsdevtools/rehype-url-inspector\");\nconst stringify = require(\"rehype-stringify\");\nconst toVFile = require(\"to-vfile\");\n\nasync function example() {\n  // Create a Rehype processor with the inspectUrls plugin\n  const processor = unified()\n    .use(parse)\n    .use(inspectUrls, {\n      inspectEach({ url }) {\n        // Log each URL\n        console.log(url);\n      }\n    })\n    .use(stringify);\n\n  // Read the example HTML file\n  let file = await toVFile.read(\"example.html\");\n\n  // Crawl the HTML file and find all the URLs\n  await processor.process(file);\n}\n\nexample();\n```\n\nRunning this script produces the following output:\n\n```\nhttp://example.com/some/page/\n/site.webmanifest\n/img/favicon.png\n/css/main.css?v=5\nhttp://example.com/some/page/\nhttp://example.com/img/logo.png\nhttp://schema.org\nhttp://example.com/some/page/\nhttp://example.com/img/logo.png\nimg/background.png\n/\n/img/logo.png\n//external.com\nsome-page.html\n//external.com/script.js\n```\n\n\n\nInstallation\n--------------------------\nYou can install Rehype URL Inspector via [npm](https://docs.npmjs.com/about-npm/).\n\n```bash\nnpm install @jsdevtools/rehype-url-inspector\n```\n\nYou'll probably want to install [unified](https://unifiedjs.com/), [rehype-parse](https://github.com/rehypejs/rehype/tree/master/packages/rehype-parse), [rehype-stringify](https://github.com/rehypejs/rehype/tree/master/packages/rehype-stringify), and [to-vfile](https://github.com/vfile/to-vfile) as well.\n\n```bash\nnpm install unified rehype-parse rehype-stringify to-vfile\n```\n\n\n\nUsage\n--------------------------\nUsing the URL Inspector plugin requires an understanding of how to use Unified and Rehype. [Here is an excelleng guide](https://unifiedjs.com/using-unified.html) to learn the basics.\n\nThe URL Inspector plugin works just like any other Rehype plugin. Pass it to [the `.use()` method](https://github.com/unifiedjs/unified#processoruseplugin-options) with an [options object](#options).\n\n```javascript\nconst unified = require(\"unified\");\nconst inspectUrls = require(\"@jsdevtools/rehype-url-inspector\");\n\n// Use the Rehype URL Inspector plugin with custom options\nunified().use(inspectUrls, {\n  inspect(urls) { ... },      // This function is called once with ALL of the URLs\n  inspectEach(url) { ... },   // This function is called for each URL as it's found\n  selectors: [\n    \"a[href]\",                // Only search for links, not other types of URLs\n    \"div[data-image]\"         // CSS selectors for custom URL attributes\n  ]\n});\n```\n\n\n\nOptions\n--------------------------\nRehype URL Inspector supports the following options:\n\n|Option                |Type                |Default                |Description\n|:---------------------|:-------------------|:----------------------|:-----------------------------------------\n|`selectors`           |array of strings, objects, and/or functions |[built-in selectors](src/selectors.ts) |Selectors indicate where to look for URLs in the document. Each selector can be a CSS attribute selector string, like `a[href]` or `img[src]`, or a function that accepts a [HAST node](https://github.com/syntax-tree/hast) and returns its URL(s). See [`extractors.ts`](src/extractors.ts) for examples.\n|`keepDefaultSelectors`|boolean             |`false`                |Whether to keep the default selectors in addition to any custom ones.\n|`inspect`             |function            |no-op                  |A function that is called _once_ and receives an array containing all the URLs in the document\n|`inspectEach`         |function            |no-op                  |A function that is called for _each_ URL in the document as it's found. Return `false` to abort the search and skip the rest of the document.\n\n\n\nURL Objects\n--------------------------\nThe `inspectEach()` function receives a [`UrlMatch` object](src/types.ts).  The `inspect()` function receves an array of `UrlMatch` objects.  Each object has the following properties:\n\n|Property               |Type                 |Description\n|:----------------------|:--------------------|:------------------------------------\n|`url`                  |string               |The URL that was found\n|`propertyName`         |string or undefined  |The name of the [HAST node property](https://github.com/syntax-tree/hast#properties) where the URL was found, such as `\"src\"` or `\"href\"`. If the URL was found in the text content of the node, then `propertyName` is `undefined`.\n|`node`                 |object               |The [HAST Element node](https://github.com/syntax-tree/hast#element) where the URL was found. **You can make changes to this node**, such as re-writing the URL, adding additional attributes, etc.\n|`root`                 |object               |The [HAST Root node](https://github.com/syntax-tree/hast#root). This gives you access to the whole document if you need it.\n|`file`                 |object               |The [File object](https://github.com/vfile/vfile) that gives you information about the HTML file itself, such as the path and file name.\n\n\n\nContributing\n--------------------------\nContributions, enhancements, and bug-fixes are welcome!  [Open an issue](https://github.com/JS-DevTools/rehype-url-inspector/issues) on GitHub and [submit a pull request](https://github.com/JS-DevTools/rehype-url-inspector/pulls).\n\n#### Building\nTo build the project locally on your computer:\n\n1. __Clone this repo__<br>\n`git clone https://github.com/JS-DevTools/rehype-url-inspector.git`\n\n2. __Install dependencies__<br>\n`npm install`\n\n3. __Build the code__<br>\n`npm run build`\n\n4. __Run the tests__<br>\n`npm test`\n\n\n\nLicense\n--------------------------\nRehype URL Inspector is 100% free and open-source, under the [MIT license](LICENSE). Use it however you want.\n\nThis package is [Treeware](http://treeware.earth). If you use it in production, then we ask that you [**buy the world a tree**](https://plant.treeware.earth/JS-DevTools/rehype-url-inspector) to thank us for our work. By contributing to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.\n\n\n\nBig Thanks To\n--------------------------\nThanks to these awesome companies for their support of Open Source developers ❤\n\n[![Travis CI](https://jstools.dev/img/badges/travis-ci.svg)](https://travis-ci.com)\n[![SauceLabs](https://jstools.dev/img/badges/sauce-labs.svg)](https://saucelabs.com)\n[![Coveralls](https://jstools.dev/img/badges/coveralls.svg)](https://coveralls.io)\n","readmeFilename":"README.md"}