{"_id":"rehype-rewrite","_rev":"24-f6ac327e3df6d5fc06d77bce7adb853b","name":"rehype-rewrite","dist-tags":{"latest":"4.0.4"},"versions":{"1.0.0":{"name":"rehype-rewrite","version":"1.0.0","keywords":["rehype","markdown","rehype-rewrite","rewrite","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@1.0.0","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://github.com/jaywcjlove/rehype-rewrite#readme","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"fb0ff965879b8b82fc8eb132eaac5cc776510afd","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-1.0.0.tgz","fileCount":7,"integrity":"sha512-YAOAvnJK9CKdkpj0IOwamd6avz7LxptipOUrzdpdc5xPLGE+wa/xP9LzXVdg16kB6of9zjWUJR50/o+HFe+Qqg==","signatures":[{"sig":"MEYCIQCToqiw54qrbaEcvyM/EMNAJnY7WtVV0WwPq8d8MZTAMQIhALabAZ6o34Yvf6VCOQwD3kelIatRz1rRmvndoDgNLBir","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10946,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgoMYXCRA9TVsSAnZWagAAvxoP/jONb6o2zDjW+XC0//9T\nhJDfU2vs/L4uzHehTFQTuHZeWAKzGvwacMLOLxIwYdGQCb0lTXo2HlTTld5O\nYgycxPMoVn/4X5QtNbRIuKBODc57qH//7d88zeiA2UAiPlS15nSXswDZp4gr\n3YHuGg99Lz85Br/e/5U1aL0pfkNIvtCyQrK7U8GFKepM2ehBxyaAqfULhtlS\npYm6LO8DhK74uIx+CGGzoG+rDaDMAEqclxg8RVGTaqsj+CxJt3Cl78s52lzQ\naAHFOFnh/+Xi4+to1d0EEFyT0yQ2zT6Z9tBAIJjMGiFiC9PqxL3MpkjEHZZh\nDLZknqgKcmWCYfPl9SU8fYuCFK1DemBnNujOjibyYFI/Z6rrnxsKJjEHq6FK\noHIFgqPG3rs/9GQjGoPg9BbmEmN07+Gq/X03tANv6+rBB4ov3eelk/bnQeKX\nyF/9pW0raP63aw2CumWMvnzRCjwSJ3RmaRzaP0b6auOC/VyfJEEDmfOD8/lL\n5AtgCqTwVK/tDlBMDOoJhs0ZH16nT1zUNB/89uN+f3cO8oiHepc7pTXwYaqu\nc7iTn87hJkyEQ0QtVN2ivQvgM3DkcP7TB3q6bIEzkEeKdRudcxP26Rl6vbBs\nUnkuLluJwGyd9brf1iqUgC3H/xuV4oAKRzxvF7wJa+IBT6egALxOoZQMFwTN\nHavb\r\n=t8yJ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverageFrom":["lib/*.js","!lib/*.d.ts"]},"main":"lib/index.js","gitHead":"baa2d8af7b6a2cf2b8e847c4ca6c830a22116da2","scripts":{"test":"tsbb test","build":"npm run build:ts && npm run build:types","start":"node lib/index.js","watch":"npm run watch:ts","prepack":"npm run build","build:ts":"tsbb build","coverage":"tsbb test --coverage","watch:ts":"tsbb watch & npm run build:types -- --watch","build:types":"tsbb types"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"6.14.11","description":"Rewrite element with rehype.","directories":{},"_nodeVersion":"14.16.0","dependencies":{"unified":"9.2.1","ts-mdast":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"26.6.3","tsbb":"2.1.2","rehype":"11.0.0","rehype-raw":"5.1.0","@types/jest":"26.0.23","remark-parse":"9.0.0","remark-rehype":"8.1.0","rehype-stringify":"8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_1.0.0_1621149206597_0.23613030599367368","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"rehype-rewrite","version":"1.0.1","keywords":["rehype","markdown","rehype-rewrite","rewrite","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@1.0.1","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://github.com/jaywcjlove/rehype-rewrite#readme","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"d1209dd7d2988f36efb6e99610c98e2db2017acc","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-1.0.1.tgz","fileCount":7,"integrity":"sha512-3HgQDbA4gtqr1V5Cd8tK6uT+31i0qast1Tw5I2fPhC6yjBziVMP5sqjhX3Sya5gLc0RVkSBBpxhLCd7BCmFfuw==","signatures":[{"sig":"MEYCIQDQNtC0FBj/RhTDKrBWQI1SPeX4e1EUCw8cTfmDVpeCHQIhAPLUnNK6S157zYxfc6az/jJtWhH0bJ7cEsuf49k/RPiL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpeOyCRA9TVsSAnZWagAA2OoP/jABnH9v0A2P343W5tEs\nhjt7GWee7ZDbxZ3N2I5N+x3b+woxnAcp0YXudA1p8XuMwSnaeSvHQpyt4zMx\n9upq+uausksg+bJDiGWichb1OGHOWV07maqCdglMKoIXsJQqSePlMrQAmmov\n8939vXvHpqHv3L8F7G4BWjODM0X5jcy+faUXQcK40qLmWzS1a2XbNLW5lerw\nJy/de+pCY6W1OEDdUghUl6DMhCoxKzKmFBPvqRPEYMeGGSA0uIae4xDFYbw4\nInG9hjeWHxyD3SHx25CUFkeoLmcJgUnI6GEpJqt/PPh6mBWHKkBdOnATr4fx\n/pLpXmv+8xKwlt9MHHVEG8WKDNIt8HAcSRDPPTkICoxQOXUA8bYesMdip7TB\n3fB42gukRP84DCdSi7hSfBRqujXs3vs7+ASN69b8XHaLCRbEOGRGWDYx15r1\nLN13qxvPE5g62hAV8VWPlbK2hUCTWJ4L3nC9d8+uJ/5mgXrZlllCNgg9GLVu\nLBBcanX4s/0gi8rNWa9gjJkzBKs50kL5UuJh7qgUykv1ijgjA0Fic0wCocnV\n/qPgKgqqJImqJROfsWf1cOQAxmZEMO3HmHz/FLXMGo95CMg6NyCYltbUxUUs\nLqO4/toS24tYQVgtRkHuWcveC8dtHdPjzDnw+Hamw5p9vy5jS7ypbhNkIbBt\nnUKc\r\n=mci+\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverageFrom":["lib/*.js","!lib/*.d.ts"]},"main":"lib/index.js","gitHead":"bdce94af0818b9b3b7b4283fe3adb34c2c1d5ada","scripts":{"test":"tsbb test","build":"npm run build:ts && npm run build:types","start":"node lib/index.js","watch":"npm run watch:ts","prepack":"npm run build","build:ts":"tsbb build","coverage":"tsbb test --coverage","watch:ts":"tsbb watch & npm run build:types -- --watch","build:types":"tsbb types"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"6.14.11","description":"Rewrite element with rehype.","directories":{},"_nodeVersion":"14.16.0","dependencies":{"unified":"9.2.1","ts-mdast":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"26.6.3","tsbb":"2.1.2","rehype":"11.0.0","rehype-raw":"5.1.0","@types/jest":"26.0.23","remark-parse":"9.0.0","remark-rehype":"8.1.0","rehype-stringify":"8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_1.0.1_1621484466059_0.04662151486530153","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"rehype-rewrite","version":"1.0.2","keywords":["rehype","markdown","rehype-rewrite","rewrite","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@1.0.2","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://github.com/jaywcjlove/rehype-rewrite#readme","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"3534a954f56246e68e8b7fdaa1ea29c5d9734b12","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-1.0.2.tgz","fileCount":7,"integrity":"sha512-B0cf4ziX1jJ0T2Dn6h8yA+CsUepFPrXlaNaFKTXJVRdKhpJWerMryzR5NlTjUEDPkTQb5euo3HNuJ8RFTH7qnQ==","signatures":[{"sig":"MEUCIEjuY14U4p7vWsFrt7bNMYmTkestmHxOmZlH03TbIVKbAiEAt44ZIvs+U5sZtIkY0mGj0dHL7A3IswDwG86rV3PfT/o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgpe4wCRA9TVsSAnZWagAAZ1cP/1pEIHY/ggpIeY+qS/e+\nhj8ABQDSlmc7U6MDzylp28F5OloFqoqINf1he195rEzaLGHKeG8c1hSR7uI9\nSGPPpvudx5aQzPlIHFJ92pwfuixXDp5CnpKvRdpaoWsSLrp1wY5VZT5WRDzR\nyWOpB7ptQipT7O3V8Nx1MkGBXlLwfrwoEMHvCUYRbAn4Ciq6Q66pUq8ywK+/\n8ft1Gj+x6HRgghxCjbCtQ7pWroWB6oE/R1rI63afmSLr7Lv0XRPtP1JWcNUz\nzXmwbqr72exlEo5Hn87kBq4+ryh3RtJ9JugwMzushHiSFUIbEpDOZy9jXgkC\nR5oe2bXvXhkF/GxO39xAk6KvoumqOU/spx+m3e+/DuuLyuDkoj0Cw+JM2Rnb\nU0LA7cWCm2Zz3BVoRBvaddx7oa1I+7zOtiGO74RGjil8wNlwuZVN9yDzC5gz\nYCrbPrPRcoMVS7OG+Bes0Mf56OeW8KWrk2DihSIn4mc+5AIK1I0vEfczMdBO\nj+K4NmEU72Heu1tf/FR9MFlsxYZWvk2t7ZmZ9nlD8BEy2VRLWG7FqmBfXWVD\nyzozCVEC4vU/ALwSfIpf9Oo7GKN0i2gwd6m0W/FTq3u9taALhH7vyXBvYANP\nFP21IGTVtLvCjrTZAsBa1aPKpGn4MbQ5Aj8MzmIIuBQrlaWyOYXXXnSOdtH/\nfIZt\r\n=9zhh\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverageFrom":["lib/*.js","!lib/*.d.ts"]},"main":"lib/index.js","gitHead":"4976134959f15f66402735ffe50ad0976ae5b9bb","scripts":{"test":"tsbb test","build":"npm run build:ts && npm run build:types","start":"node lib/index.js","watch":"npm run watch:ts","prepack":"npm run build","build:ts":"tsbb build","coverage":"tsbb test --coverage","watch:ts":"tsbb watch & npm run build:types -- --watch","build:types":"tsbb types"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"6.14.11","description":"Rewrite element with rehype.","directories":{},"_nodeVersion":"14.16.0","dependencies":{"unified":"9.2.1","ts-mdast":"1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"26.6.3","tsbb":"2.1.2","rehype":"11.0.0","rehype-raw":"5.1.0","@types/jest":"26.0.23","remark-parse":"9.0.0","remark-rehype":"8.1.0","rehype-stringify":"8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_1.0.2_1621487151905_0.03103639257724855","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"rehype-rewrite","version":"2.0.0","keywords":["rehype","markdown","rehype-rewrite","rewrite","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@2.0.0","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://github.com/jaywcjlove/rehype-rewrite#readme","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"79a10ea252b832f0ec0ec1aa27081fdf875f20a0","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-2.0.0.tgz","fileCount":9,"integrity":"sha512-94rAd44xCQG5+wdINfrq5ckNYQL04i6lx+iP2loOC9UYNAwoUeHRP7Ft3Awwk6o1adgWcTh9bRz8q3t3koDaTg==","signatures":[{"sig":"MEQCIGpzsSu0IxK6OO2CgkncxihjfqPKynLFnsKjxAa92zUrAiAGX/girSrkGPw6cveCI1giDdOKQPSfhLw4exGLFMM1iw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8872,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhL4plCRA9TVsSAnZWagAAbeAQAJKV2bOGuQ1eY4QGtjKm\nyGTEpFz+GoQE1ZPLCrRI9wa+NIroUZe4KJxsQzQKRywg5C7quQOHIuunp1dl\n41WSnKloQyVFm04JiubVv27HGUdtDYrKbIb/C09GdyVZhVAbFrcRJ4tafoNY\n201l5TdQeiBWFvEXejqhsqSm0bHkETRJrn8lUf97nLyqpQzgqpnKArvkzLWR\ncTE61nExCpHAQvX+8SQ3x0EpxHEJRoD1ktunIX28Fa63YQpfT7jHFZfMiysZ\nNP+1ESme8vEHt/mGXvtOAOYdCP3MJf+bzaV6gw37K78ZTInFYJc96/5dMSQW\nkvGLbavwMIZubgLfbtrpge4ZaBcc18Y+et4wEoS5QY8kLLDTXD4dVP1XQKcH\nKFKJq2hXjUr/HWXyZvlr2vYCg0A9/lV44s97F9qo8nSpIOtnwWMt+b5ZHrwj\nHk61shpwZg1IJRanwXRsKIQHn82CZWAzxRbn5qzg3co89o0If4aZxtWcgUn9\nD1n8FzL8vgenkN3amYCuOLz8wQs5mPVHeV8EmiUUrgCAnKzyHlVznuwk5uFs\nna/Yf+v7AHFzO0xeR3QJSZl1S7v8uXeRJ4RN7UlPRa3Skpw2x4gWAz3U+eJa\nWwb/FpQXKJOwcJB2TQLMrKgOlUduwWeAo30olDCysSKu/Hs5L+40lF82EWX9\nGxfT\r\n=MhDA\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"collectCoverageFrom":["lib/*.js","!lib/*.d.ts"],"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"lib/index.js","type":"module","gitHead":"820319b41d235a8e44cf6e47456e9c68df64295c","scripts":{"test":"tsbb test","build":"tsbb build --no-esm --disable-babel","start":"node lib/index.js","watch":"tsbb watch --no-esm --disable-babel","prepack":"npm run build","coverage":"tsbb test --coverage"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"6.14.14","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"14.17.5","dependencies":{"unified":"10.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"27.1.0","tsbb":"3.0.3","rehype":"12.0.0","rehype-raw":"6.1.0","@types/jest":"27.0.1","remark-parse":"10.0.0","remark-rehype":"9.0.0","rehype-stringify":"9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_2.0.0_1630505572975_0.4736468079962499","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"rehype-rewrite","version":"2.0.1","keywords":["rehype","markdown","rehype-rewrite","rewrite","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@2.0.1","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://github.com/jaywcjlove/rehype-rewrite#readme","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"ac4ba1f1fb721a4ed7dd5627bb6885d612693788","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-2.0.1.tgz","fileCount":9,"integrity":"sha512-7afcv1pbxRzzeMIFKZkDEWMm6dUcM13KRVua+CDObUPFjipbF2VLSChdLiYZtgyKK1dOh100fcXsgqQP9lxrPA==","signatures":[{"sig":"MEUCICCctOctaVKCzt55jAyPxchKE332Bet+K6lye4Te1J4TAiEApFL/r5OEUMN6T0zca8+UJZTuQL7iL9A4AOdisfLoa94=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPGtrCRA9TVsSAnZWagAAGeYP/3u7MzHeFSaDe70YTdlo\nuzgdl7ghYmctMHBz6JzKsXq2BerEB7ucws/Jg491XrvlrljqDy/iTgtL77W9\nPO0F9MtQq6uX0LJkyEhwo94Pi06Avdq9A5NVe1irWfllBjGV/yPJSLhPOo92\n+zc1z/fgwe1uScnuzlrX4vR1nPzE7MnXfWWr35GLmlBKC3+U9Djfe56v0zdq\ng0379Wu7v8QjWaualzo5YxfiD2ttF+xxteVxfPmS91vg2ricTs65MVvd/90h\nSivcBqS7Bk5HWtU3WI4oh9Ru60qMIqSm0RKmVvi/jhddVMDFV3p9h/1IZyFe\nKnVVkAWYEv/J0ouVDfpg0gASB89iefXEmMrKgZX4lEtMHxJYibNvUffZj/ZZ\nmzv7eagneVdWCLaXOYD68cZjSpKXEjakQFy5DMVud/PFu5SvmklKSQaKNuvN\nrT5YftkaZNLEkvg7Ho+DXzZm02YbKPvf1NnIILkQnIBRLpuuf2AaRPJgUoZM\naxhb/gyvb6iEOWg9U0MZ1ov3HnSn2dm/Os3J/MQS5rkC4ZUdO+KUrc6Vqb1f\nt7Xw279h47z8lQo8I3kOnw20u73zXczyQvqd1zHzaKLY1oR45kRThykMByBB\nPma1IQ0kpYoT6E68hyKnLE6gFZsvoW9OKVyE2qIhwavO+KsDNl5ar8Fl7+mp\nbOvA\r\n=WZjR\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"lib/index.js","type":"module","gitHead":"592a65f7521b1ce97ec462784f2665a70cfc0523","scripts":{"test":"tsbb test","build":"tsbb build --no-esm --disable-babel","start":"node lib/index.js","watch":"tsbb watch --no-esm --disable-babel","prepack":"npm run build","coverage":"tsbb test --coverage"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"6.14.15","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"14.17.6","dependencies":{"unified":"10.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"27.1.1","tsbb":"3.1.6","rehype":"12.0.0","rehype-raw":"6.1.0","@types/jest":"27.0.1","remark-parse":"10.0.0","remark-rehype":"9.0.0","rehype-stringify":"9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_2.0.1_1631349610924_0.5335937746800541","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"rehype-rewrite","version":"2.0.2","keywords":["rehype","markdown","rehype-rewrite","rewrite","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@2.0.2","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://github.com/jaywcjlove/rehype-rewrite#readme","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"95da130ee5d998f29eb465f75bcb3a8178fb798c","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-2.0.2.tgz","fileCount":12,"integrity":"sha512-ZdbR+ngv3M9a6JAiauTnKSbx6mH2ytmRmOYW7j3ZPwzrRZizqcfy+9fYva9dz7Oi21pMTAnBJTPHs+km8+m+Qw==","signatures":[{"sig":"MEQCIEEzfFuakAMUdc9w76hzDH152BaKPBcuImxXsFs5K55CAiBw1KgC9//1YLS6nHUxwz0gk/AP90PypeFRV6qfL4d2Ww==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12964,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQSJdCRA9TVsSAnZWagAAI8cP/0TkuZrFLGj0wX+tDHQf\nhP9Qp0sVUvd9TwMLRpiQOSCDEMhlITlfXA1Le2rJEYZgIKjY6q+FHk3a/JeH\nSQk+CwxqR+gOFtS25RFdg5zrxQ0GAXqd0wwnkggoCqP1fklRU8VwGMmSHo0x\nV5WQ3FMN051r8piJhaapuReAWF8oA0JFVEIpF39CajnKesUdi9dnOjnGa66l\nmsZ71NIIbFHcP25wUovbwukaxjGVr0sCr02IbqHyd5z6Hyb6fn1U9rZFcvS0\nr6YI0+WGwnXgcUrH908eKXeaJLWwobsVJcavDEBWMcasYoiztjln+8lcCL35\nxOsh5qgzy4CwXo/VOazAnKG6AUdxtcsv7yCc5Sx5cImv5//fJOiX9G2Hpehu\nbNdfcotdU1TTnFZ4tuwZj1vtu/056UtH0NoW+7P38zE2Yj7SasrRDZel68U7\nTVzcR0YcqnB+FPYxXjxoJAuaTC5UdaOujryJeP6uDlXhjy3ZMq9PGs93ImUt\nTCBX9nBuC8GoqZ2Q5O4eXeI7xnQKX2ZBC+af6MvRw7uASI7yGp2g7S8Ksndz\ndXH1viDbsLme2TQUWBa1Z6Py8BOR3/mfEG+grewN8S+7G9B7wUK5MbfrRLls\ntkD1qld1YmVksLayStH84M/4NIsu9kVzm+psv7kgacar6VQc/XLB7tQm/NG5\nK8gf\r\n=dtD/\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"lib/index.js","type":"module","gitHead":"b4868259127d9029d34eeeaf6db238bd01a5a276","scripts":{"test":"tsbb test","build":"tsbb build --no-esm --disable-babel","start":"node lib/index.js","watch":"tsbb watch --no-esm --disable-babel","prepack":"npm run build","coverage":"tsbb test --coverage"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"6.14.15","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"14.17.6","dependencies":{"unified":"10.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"27.1.1","tsbb":"3.1.6","rehype":"12.0.0","rehype-raw":"6.1.0","@types/jest":"27.0.1","remark-parse":"10.0.0","remark-rehype":"9.0.0","rehype-stringify":"9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_2.0.2_1631658589636_0.6719602823291002","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"rehype-rewrite","version":"2.1.0","keywords":["rehype","markdown","rehype-rewrite","rewrite","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@2.1.0","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://github.com/jaywcjlove/rehype-rewrite#readme","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"ba7bb5091a1842ab629632a4a5cb755fa1fb59b0","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-2.1.0.tgz","fileCount":12,"integrity":"sha512-Ss8yb9WeWib9YPMGMY0sqxKSMwqxflRVkIm1BSrUjGLT1M2e780v2vWXZGSrod58KU72KrmH22dd1ED+L3SqxA==","signatures":[{"sig":"MEUCIQDtivvYcifgFjBODj0pS76WOwHJUtT2HPJ1V/em9tcDkAIgHAfdw6H/iAWdVBeDpE1LDCTzCaR1JJz9xPwDD2mN+yM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQSRuCRA9TVsSAnZWagAA3wAQAI1fqqp0uyvUAcGJ/w/a\nKkpWupQYYvsF45dKqD40rlWD7HxEK4ir5hhzeXRkTa8umcmy15Pj/YBMRdtt\n/AyJX2LJvc3bVOqI6kER8udR9U9+RdirzXp3FoNKKeOA1Pc0SayA+QBKY9L1\nqTw0Kx5gL3Ka1kVfKoyRTHYK2/40BkTVVyb2+UUL2wDLagvzy9RvDT1dEux3\nuMFnu5kRSZIXrFK1/+Mafaf+hHi+MyxLVBTHqSPPIsiQZ0DoRFP0mLPfMrsU\ngrHGpEzGozcf7P6Z/9tqb/huxi1Zo+hbVNaeGxbSdg60kevcQnrcULCzptKw\nG5ipS/UiH+bSHgyInR7a4oCqjlqItfr+SrYu3Hl0qyqki5AMcnN0Dyxa5Cet\n5LT2BWHzjWt7Bl8IkWT4PsJNkhn52qw9BO5TxUaYAWChPZAmBwWBFqmoXRI9\noCDwqa3NJssN6OgJS3ydoCbdngoQRGzoR/9TzPQEEYmLFIIht300JJ1GgDMT\nUXfHWiojpMn4qF1bDOFY9hSoTKF1IIWZRT4Ci+JHydPBOG6SXj19AWRlRPSU\nzJSPSpqZL3kuzqxTAB5PdCMIeVq7zGr2bUJKExe5X3Rriagaq77NxyuJEmgH\n9U13fcomY4qSAe5XXWyWNdLLeh87WEjD35ZWTQOR3QFGWUwinS/scHRxSUIb\nxHBM\r\n=fwbE\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"lib/index.js","type":"module","gitHead":"0fb0878b47a5101e9dc7aba34e1dfddab3c11c49","scripts":{"test":"tsbb test","build":"tsbb build --no-esm --disable-babel","start":"node lib/index.js","watch":"tsbb watch --no-esm --disable-babel","prepack":"npm run build","coverage":"tsbb test --coverage"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"6.14.15","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"14.17.6","dependencies":{"unified":"10.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"27.1.1","tsbb":"3.1.6","rehype":"12.0.0","rehype-raw":"6.1.0","@types/jest":"27.0.1","remark-parse":"10.0.0","remark-rehype":"9.0.0","rehype-stringify":"9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_2.1.0_1631659117934_0.03105650339856192","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"rehype-rewrite","version":"2.1.1","keywords":["rehype","markdown","rehype-rewrite","rewrite","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@2.1.1","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://github.com/jaywcjlove/rehype-rewrite#readme","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"9af6e5f73097c1f4756c2805258d226a715f5478","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-2.1.1.tgz","fileCount":12,"integrity":"sha512-YniHQaelKcv+79QujSUG1N+hHeIhKhzoOokRp9tEzrIC4uC7qz8hPt5gmtIfy2DBQ2R6rLgRJAEtBt/Br7Ykyg==","signatures":[{"sig":"MEUCIQD79bKRQuLP9OgQ36MmxSz2sz+906jNzVhgsNc4N+4e4QIgWqZU4KjijNKrKqC360W6mfWxV3oYXE5KY9roRw/TMUk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQhlmCRA9TVsSAnZWagAAgCoP/1YEshSL8impNyVsAegO\nbvU/Tf+hKLy8bbu2hGO6qHM/q7RISv1x+vGJpes0HzrjPkCdjmwnl7wWc1Mm\nHHRjqp0NvSFBOezkYLOUqi5nT3J9jkF1heZoezOcTrL4yd4xg3dX0ID6ofm6\nu8fuFeYysa56fuFk/GKZauf8tamDcf+rlVyZ+fDDqMYxCjqt83v6apVwgU0U\nsIW7z51oc1c3iJ3XCs3xR9AEAAljrkINUmeguUdCgFysfITV/wjmJ0np7335\n4Cz8FOB/s/XHOAU6dRy1meXSS6vrs51Hc7GTNUDHSwIYATmJucFsvfw1i0h9\nAHh7c9s/64ORuQlBe6yj/tPFA+8y1P4sqUkTfDbOM0U3cspqlUV7I/37/7t4\n2IswfRldmaSLCxhs8g1hrRpudm3nweCAE5ZMKNkDTBdYpCTwIiWvBAGmOKo3\nImqR0zA+QxcIe7VNTlHuusVZBsrms6CM+7JZlBfnuZFYZdKMT3n6KDnELkE3\n5YN5rCEkz4IdxV1PXoGlxpwgLIMRaC9css4ZFaeTPM2s8wwFlfJMLSet5C3r\nOLeC5FBcKRRJzwvy9RWtol6Fh3INDN8ldQJzZg/BD3jE5+oUrLPkKcvI7QDd\n30hdTB11kcx0JvwV5agXtjpnzoEMEiABbeeyQAXo3FaG6sY9DWsfj5lBer6s\nGZvL\r\n=91Cn\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"lib/index.js","type":"module","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"da07480e0493664cd4d1805ba93a21ce8bc23a1c","scripts":{"test":"tsbb test","build":"tsbb build --no-esm --disable-babel","start":"node lib/index.js","watch":"tsbb watch --no-esm --disable-babel","prepack":"npm run build","coverage":"tsbb test --coverage"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"6.14.15","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"14.17.6","dependencies":{"unified":"10.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"27.1.1","tsbb":"3.1.6","rehype":"12.0.0","rehype-raw":"6.1.0","@types/jest":"27.0.1","remark-parse":"10.0.0","remark-rehype":"9.0.0","rehype-stringify":"9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_2.1.1_1631721830500_0.014901083867964848","host":"s3://npm-registry-packages"}},"2.1.2":{"name":"rehype-rewrite","version":"2.1.2","keywords":["rehype","markdown","rehype-rewrite","rewrite","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@2.1.2","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://github.com/jaywcjlove/rehype-rewrite#readme","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"b64aca92e63b122b106b364bcb5bec1e75bf0f43","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-2.1.2.tgz","fileCount":12,"integrity":"sha512-OstuGBiB3/j8X6vyKtTT2yaYun9bldku0p+rP3yZyeCwRyzouBaJd77kdvCDnNSuvpaRQI4y3qo8odbqhd4mNg==","signatures":[{"sig":"MEYCIQDI9IBwsUc3vCv2ydy7/x5mjofZo131poctjWaxc3qSPgIhAKvVmO858Gr6vi98W1hY8hgL2nN4O4HvsQkUSqnQPFBa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13117,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQp1vCRA9TVsSAnZWagAARWIQAIl/D0QHDjU+7PFyeZ2R\n6L0UdaAlu/aKcwNLEGPmbnb4cJ/eU4Fg//1K/iVzcZ3UMrhvLpgWJqYPNCgM\nUdKDxIB0aBPog9Aosjrre2raN7z8eZpLiyl4V+J47fHuzxDIsuutTp8E5w5i\nIEUCIRIPe5NCYZD4yu7E3s8bX9xfUwBAikQYG5pLFzXAXlDuuCRcjfpRrjt5\nADzsJhGGx9038ney0Y92WsYvYCLqlea30fl2+SzHgMdzaiYni+NHtPdxqlnu\nMdMXdb0vcVClmUnRwqy3E+UQaQVtFg4VZDIvekSyGt4M6y43v91MYwe1a+jj\nrB6Wjv21YDkraS9YeL11h0KS5IIVJBYL8UDH0o7H6GCQsC2m39fXqNhD8lZc\n/COXlPpbPQKAXJBMLq/jlFbtQHNirfRw9Five2+oo6SyoraEVcO8TUGjZD2m\nB3sV3ZTkcJvOTtk9XhY4nGKaq1YjETRF5W9cTl8rbb/DNFqzHhph85izQbG/\nxqtd9Ropgmtrhva0lbNXgci+GFp5F7jahUJ4vFp5cmwQhemuyKJ/Cl8csg2i\n0cc4xOBNBOsLfzp0ArxSPtg4hm49tEABlZ5Uzf9GbzH1V6PRXu3d0Y1Lv3h/\nDNwDBGH5PNyl39ft+e0kcXM4ElmtCcVY7C21amqMXgtrGbW5IyCDkeq0ptk0\nuifP\r\n=fQiB\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"lib/index.js","type":"module","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"a0a5e8f8a95222e08e8b1abfacef3f22bc93032e","scripts":{"test":"tsbb test","build":"tsbb build --disable-babel","start":"node lib/index.js","watch":"tsbb watch --disable-babel","prepack":"npm run build","coverage":"tsbb test --coverage"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"6.14.15","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"14.17.6","dependencies":{"unified":"10.1.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"27.2.0","tsbb":"3.2.1","rehype":"12.0.0","rehype-raw":"6.1.0","@types/jest":"27.0.1","remark-parse":"10.0.0","remark-rehype":"9.0.0","rehype-stringify":"9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_2.1.2_1631755631037_0.03721733741591038","host":"s3://npm-registry-packages"}},"2.1.3":{"name":"rehype-rewrite","version":"2.1.3","keywords":["rehype","markdown","rehype-rewrite","rewrite","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@2.1.3","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://github.com/jaywcjlove/rehype-rewrite#readme","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"239b10ad9424af71986bcab2028b92aa4c83a1a5","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-2.1.3.tgz","fileCount":8,"integrity":"sha512-enBYS+Ki1ny8459uXeuUu2GwjtiKWOaHNZFFN0Tc2jsIQHRa8bln6d4DGQ7F1y7YalAncX82p1NTZTpOYV/Igg==","signatures":[{"sig":"MEQCIAT8nJN7cxMpquj/Rorw+QM9bVcybk8kfQgq9wFp/bAsAiBdgOGn/TO9avTxVuH4tD1yGCjTapN9+rEWVD0bl9GLxA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11155},"jest":{"coverageReporters":["lcov","json-summary"],"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"lib/index.js","type":"module","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"b5d771622af550454265d7da95ec9126beab0010","scripts":{"test":"tsbb test","build":"tsbb build --disable-babel && npm run esm-fix","start":"node lib/index.js","watch":"tsbb watch --disable-babel","esm-fix":"tsc-esm-fix --target='lib' --ext='.js'","prepack":"npm run build","coverage":"tsbb test --coverage","type-check":"tsc --noEmit"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"6.14.15","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"14.18.0","dependencies":{"unified":"10.1.0","unist-util-visit":"4.1.0","unist-util-visit-parents":"5.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"3.4.0","rehype":"12.0.0","rehype-raw":"6.1.0","tsc-esm-fix":"2.7.2","remark-parse":"10.0.0","remark-rehype":"9.1.0","rehype-stringify":"9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_2.1.3_1633165958333_0.025709916891432094","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"rehype-rewrite","version":"3.0.0","keywords":["rehype","rehype-rewrite","rewrite","element","markdown","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@3.0.0","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-rewrite","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"ce08dc4031f59bdad60fbe07e20d927fe5477031","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-3.0.0.tgz","fileCount":8,"integrity":"sha512-JAuCiYaBtcQ3ZGQa6fh1MeDCMXx2HbYqmQ2gTdjo4zNPjEdigo8cbk+AxFMo36OfEUluBQozvNzMWcvfeIVAQg==","signatures":[{"sig":"MEQCIF3s6/rrnFfxQ4qA4aSY9T697MQoy6X51QxQkdjVc2XKAiAnabrlHlSlo7oNx114Pe0pRrfY2S3DdFT70yhnI+J2QA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16493},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"lib/index.js","type":"module","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"8ab41583aac2a328956feb910a3dd9c357b2ca09","scripts":{"test":"tsbb test","build":"tsbb build --disable-babel && npm run esm-fix","start":"node lib/index.js","watch":"tsbb watch --disable-babel","esm-fix":"tsc-esm-fix --target='lib' --ext='.js'","prepack":"npm run build","coverage":"tsbb test --coverage","type-check":"tsc --noEmit"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"6.14.15","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"14.18.0","dependencies":{"unified":"10.1.0","hast-util-select":"5.0.1","unist-util-visit":"4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"3.4.0","rehype":"12.0.0","rehype-raw":"6.1.0","tsc-esm-fix":"2.7.2","remark-parse":"10.0.0","remark-rehype":"9.1.0","rehype-stringify":"9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_3.0.0_1633193919571_0.2616748956243167","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"rehype-rewrite","version":"3.0.1","keywords":["rehype","rehype-rewrite","rewrite","element","markdown","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@3.0.1","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-rewrite","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"f0602e8d3387878ab5cfaedb7516a1b91c81bae0","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-3.0.1.tgz","fileCount":8,"integrity":"sha512-CBxUIXixtzxDPFGcfIDY0fNA+ot/DijnWR/rEvVqLs1vdfD4rym2e+C1looilfMiuBdvbm/RkDYQV3gMlP3SXQ==","signatures":[{"sig":"MEUCIQCvOORKeH0y5kqiYv5O5Y2yzicT/TQ54RUqf705J50orgIgAvP1d0r9syElmMjUkq7S5FRZedI6VD0Iy441OhFC30A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16499},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"lib/index.js","type":"module","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"2a9c0f9cf580957230c8c7714b05d99cb9f3f292","scripts":{"test":"tsbb test","build":"tsbb build --disable-babel && npm run esm-fix","start":"node lib/index.js","watch":"tsbb watch --disable-babel","esm-fix":"tsc-esm-fix --target='lib' --ext='.js'","prepack":"npm run build","coverage":"tsbb test --coverage","type-check":"tsc --noEmit"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"6.14.15","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"14.18.0","dependencies":{"unified":"10.1.0","hast-util-select":"5.0.1","unist-util-visit":"4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"3.4.0","rehype":"12.0.0","rehype-raw":"6.1.0","tsc-esm-fix":"2.7.2","remark-parse":"10.0.0","remark-rehype":"9.1.0","rehype-stringify":"9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_3.0.1_1633366551737_0.9880889268037296","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"rehype-rewrite","version":"3.0.2","keywords":["rehype","rehype-rewrite","rewrite","element","markdown","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@3.0.2","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-rewrite","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"ffa9a1c90f6049b4b981836a7b445b57288f93f5","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-3.0.2.tgz","fileCount":8,"integrity":"sha512-hlBsQ2+9mYznl7xLwXiHuLrJlMWlaJUHAlHjZxkRbX6tLC3fqEswaBrkhxNgRbUwQo/kkDPRZ6+jl4vHKNXwlQ==","signatures":[{"sig":"MEQCIDXKBzz0adsf8sulAIhK7des5IIm6PR2W9bvVu3dKHMtAiBEMWjM3h78sl1T17PlSddkdl+urkK++LgZXRZE2Sss9Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17282},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"lib/index.js","type":"module","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"9861586a3c8a2277fd3f828252185903966a90b4","scripts":{"test":"tsbb test","build":"tsbb build --disable-babel && npm run esm-fix","start":"node lib/index.js","watch":"tsbb watch --disable-babel","esm-fix":"tsc-esm-fix --target='lib' --ext='.js'","prepack":"npm run build","coverage":"tsbb test --coverage","type-check":"tsc --noEmit"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"6.14.15","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"14.18.0","dependencies":{"unified":"10.1.0","hast-util-select":"5.0.1","unist-util-visit":"4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"3.4.0","rehype":"12.0.0","rehype-raw":"6.1.0","tsc-esm-fix":"2.7.2","remark-parse":"10.0.0","remark-rehype":"9.1.0","rehype-stringify":"9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_3.0.2_1633375957448_0.8809031131623741","host":"s3://npm-registry-packages"}},"3.0.3":{"name":"rehype-rewrite","version":"3.0.3","keywords":["rehype","rehype-rewrite","rewrite","element","markdown","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@3.0.3","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-rewrite","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"dcb02d3d0134a01d7d5bbf25d7991bbe55f1ae8f","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-3.0.3.tgz","fileCount":8,"integrity":"sha512-WUoEzCxkVxqsek/ndRkxIgrK5r3ZYDUC3plXO08Qjf389Kem9Q6Do8n7B0LhK/p2OQOfMexYeN8g6QtuPTfrrg==","signatures":[{"sig":"MEYCIQCZ3TXTEkNey5tWeUDwg8P86ksZIWCV4OcuHQ5WhCXx0QIhAKKEZEIgTwacbZWKesZHHmTEOTrQYIUNxipQK5tA9OUs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17608},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"type":"module","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"exports":"lib/index.js","gitHead":"60522a7ffd40e8eff1014aa75ec4627a58ab6a1e","scripts":{"test":"tsbb test","build":"tsbb build --disable-babel && npm run esm-fix","start":"node lib/index.js","watch":"tsbb watch --disable-babel","esm-fix":"tsc-esm-fix --target='lib' --ext='.js'","prepack":"npm run build","coverage":"tsbb test --coverage","type-check":"tsc --noEmit"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"6.14.15","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"14.18.0","dependencies":{"unified":"10.1.0","hast-util-select":"5.0.1","unist-util-visit":"4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"3.4.1","rehype":"12.0.0","rehype-raw":"6.1.0","tsc-esm-fix":"2.7.3","remark-parse":"10.0.0","remark-rehype":"10.0.0","rehype-stringify":"9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_3.0.3_1633458946113_0.8767284454317013","host":"s3://npm-registry-packages"}},"3.0.4":{"name":"rehype-rewrite","version":"3.0.4","keywords":["rehype","rehype-rewrite","rewrite","element","markdown","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@3.0.4","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-rewrite","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"ffe3498697cb2fe1fbae843dac81ad2ed3880556","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-3.0.4.tgz","fileCount":8,"integrity":"sha512-ZpIEwSinmzI0S2QbuWH5yXodG6hgxm2FzwxGViKOIjCJHgDh+LgUgcsjGPftabeCCuzRefsIdGVPivaDddRNYg==","signatures":[{"sig":"MEUCIQDNiKj5cAhlwBrr2opaols7Rq7HCeVktZ/7EvtjSpmJpQIgANdIQBc17I7XtLv6OYkTbA9LJ0sIhuASICy9WdiU7J0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17605,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh25lKCRA9TVsSAnZWagAAZSgP/18z0k0++A4cjhPtQkDS\n1OmG6nYXCiJSJcUHnFxNN2k57LzInRH0DMD+CsgU75f8e8kYqDQXHoFPh5wd\neHnqoBft1r3lVkA1LX3FEYo0sVYOrytRhBTa0bN1EpE/tJnxlnnL3ZASYshq\nIuJmwZjZFvmm6688tPLBIiaEecunur8sqFUyEZPkCtDVh+3quiRxWMU5slC8\nNIIdwqQ8z9qQWdS7yn00tEZaLiLrMDCszmmkUJQCqKnIdLv4EqZYnZPi7ifa\n3my94lR2Upn5YJx/Tvwh78SynJwwjAQo9rf37r1gLTceWsBOY5xQrC3FVGR+\n3/RAPXj6a45YNBegh3dH45J6y5xaBCMf05sjtKkWQ/oB/ryPBLWG/v2/kmuy\n24Nslsbs0or7h0xXhXiL71wa4QglQLT6lKzdYc0u3SAP5N1+wX/E48MVxEHi\nyRHJZgANR79vxvSTqBrtb0IvEXZ5njoYnbobuezgH7Vf48rSFA7FgX0e26DK\nrvnuCkvq+1ZBVg8jX7P4yRDCq8mIPjD1s0+b33Bi80oKvN6if2lG1p16PTpv\nvKy87zVodLXcuhY1SbuKtKh6p+IckNojpKI4DAx9P4qwpHRA6bLGHMzK92io\nfIpoZ21kSfSQTGKdvaaChk8SxZ8wVw2tVoTtnm4vvgo6j609f3TRmCFy944R\nRq1f\r\n=OikR\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"lib/index.js","type":"module","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"2896abaf79d14985636f16c85f0faff6e6690c13","scripts":{"test":"tsbb test","build":"tsbb build --disable-babel && npm run esm-fix","start":"node lib/index.js","watch":"tsbb watch --disable-babel","esm-fix":"tsc-esm-fix --target='lib' --ext='.js'","prepack":"npm run build","coverage":"tsbb test --coverage","type-check":"tsc --noEmit"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"6.14.15","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"14.18.0","dependencies":{"unified":"10.1.0","hast-util-select":"5.0.1","unist-util-visit":"4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"3.4.1","rehype":"12.0.0","rehype-raw":"6.1.0","tsc-esm-fix":"2.7.3","remark-parse":"10.0.0","remark-rehype":"10.0.0","rehype-stringify":"9.0.2"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_3.0.4_1633461528158_0.17700967650753374","host":"s3://npm-registry-packages"}},"3.0.5":{"name":"rehype-rewrite","version":"3.0.5","keywords":["rehype","rehype-rewrite","rewrite","element","markdown","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@3.0.5","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-rewrite","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"372a773297ed1933022184835c61d6511da05b05","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-3.0.5.tgz","fileCount":8,"integrity":"sha512-FRObAlt++VtxHUAKbQAuHjYmqXXfhhEJVbWThcQGIGn4qt4T2bvQJCp6Leyie0mm9Aw60IwQcuwWmcBnyv2XSg==","signatures":[{"sig":"MEUCIHoZIxuoo3ilZrif6jnQOzt5UoK3yfWMANNBj3IxhWaqAiEA0uj26c5rxU7807yT8zc/0ahPgJJTHlGEAaOfzFOkAK0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18015,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiI7RwACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqGcw//aYT6GOmJ4Ku0SCvKVMsmMyWLekZ7d5l+gOkJP27eh3r9WEib\r\n2k/Y0qe+udx6HgfNzgeo1awgDDV3ImzHwLkXxiXbAGPYlo2iqBo0qrB0Vtmd\r\noWf1LYNq0mB3LZ9e0jHP8/pbu9uNDGsr3qG2RUCAwcAU06oWZjx1wPPSlKro\r\nVbORiXaKT0Q1d4scl+tDhAEnzFVC9PgxdgR0HnViDIcycgYdl/ghfgCao6Or\r\naK0H+aavEXWLtl5wvfkLXpQyFqZ4CViZ3jWSNlmr2vc3jfNkVSEVCc0tWnmU\r\nAINsvAxWQgDqTqUXqpjqHbXgZmu89fhO1xwXwL8DnUXAEpODPjXbAqaxzpoh\r\n5taAGz5kvvBc2+dELOtDA+3UkXLPkUp10tmr0AjUes1Y71iq+GIqm6yDDpVL\r\n3YHBrlYlyhq7C4VzvNoxmoXY+837psQySiBA+SluGKfz97ByXYrbxsCbbvgK\r\nBCHHgZ1ozWbVulqVlLSvpradtm/UYsMNsHX9i/NB3tawT0U53CevvDK/oc2g\r\nEScXwP0i/fSr5fXBAgD/JpUSVB5TSv3W+p1Yu24N0Q33UG+gAmFx/ViN/T5T\r\ngjJSO3hHeNVSCaSyj0QRcAkLg5s5exQOMe+HL/4bIU0uVnsRCPVl5RE/4qG7\r\nhcj7QNjetUTO8p5g5w9vwA+d8nYNmttQ7EE=\r\n=F5CW\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"lib/index.js","type":"module","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"95778f5c189d8b8aa0ba4d0608a052bc411f2730","scripts":{"test":"tsbb test","build":"tsbb build --disable-babel && npm run esm-fix","start":"node lib/index.js","watch":"tsbb watch --disable-babel","esm-fix":"tsc-esm-fix --target='lib' --ext='.js'","prepack":"npm run build","coverage":"tsbb test --coverage","type-check":"tsc --noEmit"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"6.14.16","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"unified":"~10.1.1","hast-util-select":"~5.0.1","unist-util-visit":"~4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"~3.7.0","rehype":"~12.0.1","rehype-raw":"~6.1.1","tsc-esm-fix":"~2.7.7","remark-parse":"~10.0.1","remark-rehype":"~10.1.0","rehype-stringify":"~9.0.3"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_3.0.5_1646507120206_0.2081170901957461","host":"s3://npm-registry-packages"}},"3.0.6":{"name":"rehype-rewrite","version":"3.0.6","keywords":["rehype","rehype-rewrite","rewrite","element","markdown","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@3.0.6","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-rewrite","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"21e86982c7f2c169121bf10dd191f3768c6a6b29","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-3.0.6.tgz","fileCount":8,"integrity":"sha512-REDTNCvsKcAazy8IQWzKp66AhSUDSOIKssSCqNqCcT9sN7JCwAAm3mWGTUdUzq80ABuy8d0D6RBwbnewu1aY1g==","signatures":[{"sig":"MEUCIEdsBpaq908fh4JfokqXXmEneg60X6/1rfwkxkp0/sa+AiEA53maDTuujbxi9IlUS7wdwbnWZvvoAdDmYNoS2Zgm02U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiLr0XACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoVbg/+NZiBvcRMERAuhm76Hb3QVFEvnO75vJzA9+g48zvEcQUOLk2R\r\nLdQor8VKuU+xMoWkONIbt+lAp7ignVIZLMaWPTGLDEVzfwx71kpOLkZBnqCq\r\nlYOLzn2mcvT8kW7/jUNMw07360IVbD1r0VqtG30Hdp9eqx3UHKokE2NYNoSU\r\nolbWf1gVpUp4cwT+bqrROaZizHzH+gMhDncHPAL56gYLnHay2sAmrLKaelVQ\r\nZm5XEEEWaXMSm2rqxEmsb6CH82l9ltZnclf3UxOKqp99WoGWdtmU+M4RfdgJ\r\nGQXgMOuPdpkQvRAdN/IGBoLVko9NuAxPI8PklTOcnHDfSfg1yR5gLCR0ppbQ\r\nFlZ0K4CcoF0Wqx30027ho3ZMT16zhPwfH7+JOcS2qFBmyeu7vDBrG/art+QI\r\nbP2zwy8N6nihVf/grZDzOxxLy2SqZQX6i6Sk3nR5/OeVwFcQ0JfTljQVhc2r\r\nsbGu7kuxBFMCqiJdFcFU4sh6F1eqULr8EI6eFJFF6BaSm3cnZRfxJKq9iOSv\r\nRzqajh7xcSS5GW1dnNKM4gWHR2A5d6qmp6pwE8MCWdBckuocaVPfJykB9cRM\r\nL3IeC9otfl4Q0umMIxS8RsqIzfj+BwoaIDs6ckeX6vgFKj2IVTGW2J6B0kes\r\nFpeljCIbOTT/LkF0opFM/9g+yjtwNllElLs=\r\n=qbhB\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"main":"lib/index.js","type":"module","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"gitHead":"5e1460a3ec8459f35688a5b5054dec94e03ba167","scripts":{"test":"tsbb test","build":"tsbb build --disable-babel && npm run esm-fix","start":"node lib/index.js","watch":"tsbb watch --disable-babel","esm-fix":"tsc-esm-fix --target='lib' --ext='.js'","prepack":"npm run build","coverage":"tsbb test --coverage","type-check":"tsc --noEmit"},"_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"6.14.16","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"14.19.0","dependencies":{"unified":"~10.1.1","hast-util-select":"~5.0.1","unist-util-visit":"~4.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"~3.7.0","rehype":"~12.0.1","rehype-raw":"~6.1.1","tsc-esm-fix":"~2.7.7","remark-parse":"~10.0.1","remark-rehype":"~10.1.0","rehype-stringify":"~9.0.3"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_3.0.6_1647230230911_0.5251483058129365","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"rehype-rewrite","version":"4.0.0","keywords":["rehype","rehype-rewrite","rewrite","element","markdown","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@4.0.0","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-rewrite","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"5124529117fc5712a87be9669262371684f94111","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-4.0.0.tgz","fileCount":8,"integrity":"sha512-796T+09zkOwjb/anlieN/Vm/66B0Y8J8iGz2uH1WnkLhJZ95/Z4fsjDn7sJ2NhR2r81+hwgIe1n29jZn/1RnOg==","signatures":[{"sig":"MEYCIQD26oMbOjEPSeDvhwXd9G4oEoooLSxk90FRD5bouiepxAIhANC9vyV9egu9ATqQ6jy/vhSBd4/6nocPRRVISP4Lm7oW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-rewrite@4.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20711},"jest":{"moduleNameMapper":{"^(\\.{1,2}/.*)\\.js$":"$1"},"extensionsToTreatAsEsm":[".ts"],"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"type":"module","engines":{"node":">=16.0.0"},"exports":"./lib/index.js","gitHead":"c88cbe0310b53e4198affd4d4059714c3f8145e1","scripts":{"test":"tsbb test","build":"tsbb build","start":"node lib/index.js","watch":"tsbb watch","prepack":"npm run build","coverage":"tsbb test --coverage","type-check":"tsc --noEmit"},"typings":"./lib/index.d.ts","_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"9.8.1","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"18.18.0","dependencies":{"unified":"^11.0.3","hast-util-select":"^6.0.0","unist-util-visit":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"^4.2.3","rehype":"^13.0.0","rehype-raw":"^7.0.0","remark-parse":"^11.0.0","remark-rehype":"^11.0.0","rehype-stringify":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_4.0.0_1695879500901_0.7368715134614134","host":"s3://npm-registry-packages"}},"4.0.1":{"name":"rehype-rewrite","version":"4.0.1","keywords":["rehype","rehype-rewrite","rewrite","element","markdown","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@4.0.1","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-rewrite","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"1a6d447ec623008b2161636918f682dc91cd8e2c","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-4.0.1.tgz","fileCount":8,"integrity":"sha512-YPFZAU2feLkwt43we6hJjX1xh8hvtkOgJDwH81gCzeo3EeoQ0KCZz5HIxFKJjfTrwVV/yQ8BoDdXmvL0GcFVYQ==","signatures":[{"sig":"MEQCIAy7gOObh3ueXHqUNQVR9PYmp3KHS+gV3kZP/SeATmueAiAbXvJMgGzajR0wy5FhrzTWiw/7z8hsmod3gAgyR1n5EQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-rewrite@4.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20889},"jest":{"moduleNameMapper":{"^(\\.{1,2}/.*)\\.js$":"$1"},"extensionsToTreatAsEsm":[".ts"],"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"type":"module","engines":{"node":">=16.0.0"},"exports":"./lib/index.js","gitHead":"72f7e50d8f6cce473c6d1552cab07ee7a6a1d63c","scripts":{"test":"tsbb test","build":"tsbb build","start":"node lib/index.js","watch":"tsbb watch","prepack":"npm run build","coverage":"tsbb test --coverage","type-check":"tsc --noEmit"},"typings":"./lib/index.d.ts","_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"9.8.1","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"18.18.2","dependencies":{"unified":"^11.0.3","hast-util-select":"^6.0.0","unist-util-visit":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"^4.2.3","rehype":"^13.0.0","rehype-raw":"^7.0.0","remark-parse":"^11.0.0","remark-rehype":"^11.0.0","rehype-stringify":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_4.0.1_1700912110710_0.23233371731107177","host":"s3://npm-registry-packages"}},"4.0.2":{"name":"rehype-rewrite","version":"4.0.2","keywords":["rehype","rehype-rewrite","rewrite","element","markdown","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@4.0.2","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-rewrite","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"7b094bb586dfda83333994cb3dbb01cb1e8c361d","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-4.0.2.tgz","fileCount":8,"integrity":"sha512-rjLJ3z6fIV11phwCqHp/KRo8xuUCO8o9bFJCNw5o6O2wlLk6g8r323aRswdGBQwfXPFYeSuZdAjp4tzo6RGqEg==","signatures":[{"sig":"MEYCIQD25L3VSAdKZSr15Av2esZ/0a17PLoqRsglkTIZ/zWhZQIhAP76FXA0bvRxyP8bqmgaYZqBsXw18aImOMc7lJ3/9Jnu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-rewrite@4.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20944},"jest":{"moduleNameMapper":{"^(\\.{1,2}/.*)\\.js$":"$1"},"extensionsToTreatAsEsm":[".ts"],"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"type":"module","engines":{"node":">=16.0.0"},"exports":"./lib/index.js","funding":"https://jaywcjlove.github.io/#/sponsor","gitHead":"bde5dc557d8c23531cc6606ad895510c69ce45d2","scripts":{"test":"tsbb test","build":"tsbb build","start":"node lib/index.js","watch":"tsbb watch","prepack":"npm run build","coverage":"tsbb test --coverage","type-check":"tsc --noEmit"},"typings":"./lib/index.d.ts","_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"9.8.1","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"18.18.2","dependencies":{"unified":"^11.0.3","hast-util-select":"^6.0.0","unist-util-visit":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"^4.2.3","rehype":"^13.0.0","rehype-raw":"^7.0.0","remark-parse":"^11.0.0","remark-rehype":"^11.0.0","rehype-stringify":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_4.0.2_1700997509392_0.3200156756867927","host":"s3://npm-registry-packages"}},"4.0.3":{"name":"rehype-rewrite","version":"4.0.3","keywords":["rehype","rehype-rewrite","rewrite","element","markdown","javascript","html","ast","unified"],"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","_id":"rehype-rewrite@4.0.3","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"homepage":"https://jaywcjlove.github.io/rehype-rewrite","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"dist":{"shasum":"553677bf2b54f2236105b3eef2626399d188e096","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-4.0.3.tgz","fileCount":8,"integrity":"sha512-y6zPHL2tBqm1TF+lFV8SKH65+DYqkm1CUXipNebTo4l4R/rL4bOLOS+klp9VlcKhytiyYVZB72AA/1F4+lOk9g==","signatures":[{"sig":"MEQCIG2zODuCdf+2g2kHRlxJwkO5P6oHnNWZaZ+yt1wak0n3AiBLvUKd7J9fubI8L/51TUOuPkvhSGMYl5FF5QQWiht0lQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-rewrite@4.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":26439},"jest":{"moduleNameMapper":{"^(\\.{1,2}/.*)\\.js$":"$1"},"extensionsToTreatAsEsm":[".ts"],"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"type":"module","engines":{"node":">=16.0.0"},"exports":"./lib/index.js","funding":"https://jaywcjlove.github.io/#/sponsor","gitHead":"905651ffe364128e6ee7e935d412c870f900819f","scripts":{"test":"tsbb test","build":"tsbb build","start":"node lib/index.js","watch":"tsbb watch","prepack":"npm run build","coverage":"tsbb test --coverage","type-check":"tsc --noEmit"},"typings":"./lib/index.d.ts","_npmUser":{"name":"wcjiang","email":"398188662@qq.com"},"repository":{"url":"git+https://github.com/jaywcjlove/rehype-rewrite.git","type":"git"},"_npmVersion":"10.8.2","description":"Rewrite element with rehype.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"unified":"^11.0.3","hast-util-select":"^6.0.0","unist-util-visit":"^5.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsbb":"^4.2.3","rehype":"^13.0.0","rehype-raw":"^7.0.0","remark-parse":"^11.0.0","remark-rehype":"^11.0.0","rehype-stringify":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-rewrite_4.0.3_1760488838137_0.03384377361213087","host":"s3://npm-registry-packages-npm-production"}},"4.0.4":{"name":"rehype-rewrite","version":"4.0.4","description":"Rewrite element with rehype.","homepage":"https://jaywcjlove.github.io/rehype-rewrite","funding":"https://jaywcjlove.github.io/#/sponsor","author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","sideEffects":false,"type":"module","typings":"./lib/index.d.ts","exports":"./lib/index.js","scripts":{"prepack":"npm run build","start":"node lib/index.js","watch":"tsbb watch","build":"tsbb build","type-check":"tsc --noEmit","test":"tsbb test","coverage":"tsbb test --coverage"},"repository":{"type":"git","url":"git+https://github.com/jaywcjlove/rehype-rewrite.git"},"keywords":["rehype","rehype-rewrite","rewrite","element","markdown","javascript","html","ast","unified"],"jest":{"extensionsToTreatAsEsm":[".ts"],"moduleNameMapper":{"^(\\.{1,2}/.*)\\.js$":"$1"},"transformIgnorePatterns":["<rootDir>/node_modules/?!(.*)"]},"engines":{"node":">=16.0.0"},"dependencies":{"unified":"^11.0.3","unist-util-visit":"^5.0.0","hast-util-select":"^6.0.0"},"devDependencies":{"rehype":"^13.0.0","rehype-stringify":"^10.0.0","rehype-raw":"^7.0.0","remark-parse":"^11.0.0","remark-rehype":"^11.0.0","tsbb":"^4.2.3"},"gitHead":"163036c251c696dce8aa73ac404d358663424209","_id":"rehype-rewrite@4.0.4","bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-L/FO96EOzSA6bzOam4DVu61/PB3AGKcSPXpa53yMIozoxH4qg1+bVZDF8zh1EsuxtSauAhzt5cCnvoplAaSLrw==","shasum":"69c89f18c42033a7e73f79178b8f0578dd3a5a69","tarball":"https://registry.npmjs.org/rehype-rewrite/-/rehype-rewrite-4.0.4.tgz","fileCount":8,"unpackedSize":26835,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/rehype-rewrite@4.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDzCxA3keKycZrHgJw7roUhWXjgnrJWctFwF+1Lgusw5QIgdtvyGOfcuAn06tDbLRIlMzSW8u0JZMH/gASZ0zilhDo="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:d82afe36-123e-40d9-bece-b6c4142ba48d"}},"directories":{},"maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rehype-rewrite_4.0.4_1765547374379_0.9270109894585838"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-16T07:13:26.597Z","modified":"2025-12-12T13:49:34.850Z","1.0.0":"2021-05-16T07:13:26.804Z","1.0.1":"2021-05-20T04:21:06.244Z","1.0.2":"2021-05-20T05:05:52.053Z","2.0.0":"2021-09-01T14:12:53.097Z","2.0.1":"2021-09-11T08:40:11.055Z","2.0.2":"2021-09-14T22:29:49.778Z","2.1.0":"2021-09-14T22:38:38.077Z","2.1.1":"2021-09-15T16:03:50.633Z","2.1.2":"2021-09-16T01:27:11.197Z","2.1.3":"2021-10-02T09:12:38.546Z","3.0.0":"2021-10-02T16:58:39.706Z","3.0.1":"2021-10-04T16:55:52.064Z","3.0.2":"2021-10-04T19:32:37.648Z","3.0.3":"2021-10-05T18:35:46.258Z","3.0.4":"2021-10-05T19:18:48.314Z","3.0.5":"2022-03-05T19:05:20.356Z","3.0.6":"2022-03-14T03:57:11.047Z","4.0.0":"2023-09-28T05:38:21.033Z","4.0.1":"2023-11-25T11:35:10.889Z","4.0.2":"2023-11-26T11:18:29.696Z","4.0.3":"2025-10-15T00:40:38.375Z","4.0.4":"2025-12-12T13:49:34.525Z"},"bugs":{"url":"https://github.com/jaywcjlove/rehype-rewrite/issues"},"author":{"name":"Kenny Wong","email":"wowohoo@qq.com"},"license":"MIT","homepage":"https://jaywcjlove.github.io/rehype-rewrite","keywords":["rehype","rehype-rewrite","rewrite","element","markdown","javascript","html","ast","unified"],"repository":{"type":"git","url":"git+https://github.com/jaywcjlove/rehype-rewrite.git"},"description":"Rewrite element with rehype.","maintainers":[{"name":"wcjiang","email":"398188662@qq.com"}],"readme":"<div markdown=\"1\">\n  <sup>Using <a href=\"https://wangchujiang.com/#/app\" target=\"_blank\">my app</a> is also a way to <a href=\"https://wangchujiang.com/#/sponsor\" target=\"_blank\">support</a> me:</sup>\n  <br>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/Deskmark/6755948110\" title=\"Deskmark for macOS\"><img alt=\"Deskmark\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/deskmark.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/Keyzer/6500434773\" title=\"Keyzer for macOS\"><img alt=\"Keyzer\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/keyzer.png\"></a>\n  <a target=\"_blank\" href=\"https://github.com/jaywcjlove/vidwall-hub\" title=\"Vidwall Hub for macOS\"><img alt=\"Vidwall Hub\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/vidwall-hub.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/VidCrop/6752624705\" title=\"VidCrop for macOS\"><img alt=\"VidCrop\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/vidcrop.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/Vidwall/6747587746\" title=\"Vidwall for macOS\"><img alt=\"Vidwall\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/vidwall.png\"></a>\n  <a target=\"_blank\" href=\"https://wangchujiang.com/mousio-hint/\" title=\"Mousio Hint for macOS\"><img alt=\"Mousio Hint\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/mousio-hint.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6746747327\" title=\"Mousio for macOS\"><img alt=\"Mousio\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/mousio.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6745227444\" title=\"Musicer for macOS\"><img alt=\"Musicer\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/musicer.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6743841447\" title=\"Audioer for macOS\"><img alt=\"Audioer\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/audioer.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6744690194\" title=\"FileSentinel for macOS\"><img alt=\"FileSentinel\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/file-sentinel.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6743495172\" title=\"FocusCursor for macOS\"><img alt=\"FocusCursor\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/focus-cursor.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6742680573\" title=\"Videoer for macOS\"><img alt=\"Videoer\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/videoer.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6740425504\" title=\"KeyClicker for macOS\"><img alt=\"KeyClicker\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/key-clicker.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6739052447\" title=\"DayBar for macOS\"><img alt=\"DayBar\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/daybar.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6739444407\" title=\"Iconed for macOS\"><img alt=\"Iconed\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/iconed.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6737160756\" title=\"Mousio for macOS\"><img alt=\"Mousio\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/rightmenu-master.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6723903021\" title=\"Paste Quick for macOS\"><img alt=\"Quick RSS\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/paste-quick.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6670696072\" title=\"Quick RSS for macOS/iOS\"><img alt=\"Quick RSS\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/quick-rss.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6670167443\" title=\"Web Serve for macOS\"><img alt=\"Web Serve\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/web-serve.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6503953628\" title=\"Copybook Generator for macOS/iOS\"><img alt=\"Copybook Generator\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/copybook-generator.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6471227008\" title=\"DevTutor for macOS/iOS\"><img alt=\"DevTutor for SwiftUI\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/devtutor.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6479819388\" title=\"RegexMate for macOS/iOS\"><img alt=\"RegexMate\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/regex-mate.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6479194014\" title=\"Time Passage for macOS/iOS\"><img alt=\"Time Passage\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/time-passage.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6478772538\" title=\"IconizeFolder for macOS\"><img alt=\"Iconize Folder\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/iconize-folder.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6478511402\" title=\"Textsound Saver for macOS/iOS\"><img alt=\"Textsound Saver\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/textsound-saver.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6476924627\" title=\"Create Custom Symbols for macOS\"><img alt=\"Create Custom Symbols\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/create-custom-symbols.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6476452351\" title=\"DevHub for macOS\"><img alt=\"DevHub\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/devhub.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6476400184\" title=\"Resume Revise for macOS\"><img alt=\"Resume Revise\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/resume-revise.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6472593276\" title=\"Palette Genius for macOS\"><img alt=\"Palette Genius\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/palette-genius.png\"></a>\n  <a target=\"_blank\" href=\"https://apps.apple.com/app/6470879005\" title=\"Symbol Scribe for macOS\"><img alt=\"Symbol Scribe\" height=\"52\" width=\"52\" src=\"https://wangchujiang.com/appicon/symbol-scribe.png\"></a>\n</div>\n<hr>\n\nrehype-rewrite\n===\n<!--rehype:style=display: flex; height: 230px; align-items: center; justify-content: center; font-size: 38px;-->\n\n[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)\n[![Downloads](https://img.shields.io/npm/dm/rehype-rewrite.svg?style=flat)](https://www.npmjs.com/package/rehype-rewrite)\n[![NPM version](https://img.shields.io/npm/v/rehype-rewrite.svg?style=flat)](https://npmjs.org/package/rehype-rewrite)\n[![Build](https://github.com/jaywcjlove/rehype-rewrite/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/rehype-rewrite/actions/workflows/ci.yml)\n[![Coverage Status](https://jaywcjlove.github.io/rehype-rewrite/badges.svg)](https://jaywcjlove.github.io/rehype-rewrite/lcov-report/)\n[![npm bundle size](https://img.shields.io/bundlephobia/minzip/rehype-rewrite)](https://bundlephobia.com/result?p=rehype-rewrite)\n[![Repo Dependents](https://badgen.net/github/dependents-repo/jaywcjlove/rehype-rewrite)](https://github.com/jaywcjlove/rehype-rewrite/network/dependents)\n\nRewrite element with [rehype](https://github.com/rehypejs/rehype).\n\n## Installation\n\nThis package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c): Node 12+ is needed to use it and it must be `import` instead of `require`.\n\n```bash\nnpm install rehype-rewrite\n```\n\n## Usage\n\n> 🚧  Migrate from rehype-rewrite ~~v2.x~~<!--rehype:style=color: red;--> to `v3.x`<!--rehype:style=background-color: #4caf50; color: #fff;-->.\n> \n> ```diff\n> rehype()\n> - .use(rehypeRewrite, (node, index, parent) => {})\n> + .use(rehypeRewrite, {\n> +   rewrite: (node, index, parent) => {}\n> + })\n> ```\n<!--rehype:style=border-left-color: #fddf4c;-->\n\n<!--rehype:-->\n```js\nimport { rehype } from 'rehype';\nimport rehypeRewrite from 'rehype-rewrite';\nimport stringify from 'rehype-stringify';\n\nconst html = `<h1>header</h1>`;\nconst htmlStr = rehype()\n  .data('settings', { fragment: true })\n  .use(rehypeRewrite, {\n    rewrite: (node, index, parent) => {\n      if(node.type == 'text' && node.value == 'header') {\n        node.value = ''\n      }\n    }\n  })\n  .use(stringify)\n  .processSync(html)\n  .toString()\n```\n\n> ```html\n> <h1>header</h1>\n> ```\n> **`Output:`** \n> \n> ```html\n> <h1></h1>\n> ```\n> \n\n## Options\n\n```ts\nimport { Plugin } from 'unified';\nimport { Root, Element, ElementContent, RootContent } from 'hast';\n/** Get the node tree source code string */\nexport declare const getCodeString: (data?: ElementContent[], code?: string) => string;\nexport declare type RehypeRewriteOptions = {\n  /**\n   * Select an element to be wrapped. Expects a string selector that can be passed to hast-util-select ([supported selectors](https://github.com/syntax-tree/hast-util-select/blob/master/readme.md#support)).\n   * If `selector` is not set then wrap will check for a body all elements.\n   */\n  selector?: string;\n  /** Rewrite Element. */\n  rewrite(node: Root | RootContent, index: number | null, parent: Root | Element | null): void;\n};\ndeclare const remarkRewrite: Plugin<[RehypeRewriteOptions?], Root>;\nexport default remarkRewrite;\n```\n\n### `selector?: string;`\n\nSelect an element to be wrapped. Expects a string selector that can be passed to hast-util-select ([supported selectors](https://github.com/syntax-tree/hast-util-select/blob/master/readme.md#support)). If `selector` is not set then wrap will check for a body all elements.\n\n### `rewrite(node, index, parent): void;`\n\nRewrite element.\n\n## Example\n\n### Example 1\n\n```js\nimport { rehype } from 'rehype';\nimport rehypeRewrite from 'rehype-rewrite';\nimport stringify from 'rehype-stringify';\n\nconst html = `<h1>header</h1><h1>header</h1><h1 class=\"title3\">header</h1>`;\nconst htmlStr = rehype()\n  .data('settings', { fragment: true })\n  .use(rehypeRewrite, {\n    selector: 'h1',\n    rewrite: (node) => {\n      if (node.type === 'element') {\n        node.properties.className = 'test';\n      }\n    }\n  })\n  .use(stringify)\n  .processSync(html)\n  .toString()\n```\n\n> ```html\n> <h1>header</h1>\n> <h1>header</h1>\n> <h1 class=\"title3\">header</h1>\n> ```\n> **`Output:`** \n> \n> ```html\n> <h1 class=\"test\">header</h1>\n> <h1 class=\"test\">header</h1>\n> <h1 class=\"test\">header</h1>\n> ```\n>\n\n### Example 2\n\n```js\nimport { rehype } from 'rehype';\nimport rehypeRewrite from 'rehype-rewrite';\nimport stringify from 'rehype-stringify';\n\nconst html = `<h1>header</h1>`;\nconst htmlStr = rehype()\n  .use(rehypeRewrite, {\n    rewrite: (node) => {\n      if (node.type == 'element' && node.tagName == 'body') {\n        node.properties = { ...node.properties, style: 'color:red;'}\n      }\n    }\n  })\n  .use(stringify)\n  .processSync(html)\n  .toString()\n```\n\n> ```html\n> <h1>header</h1>\n> ```\n> **`Output:`** \n> \n> ```html\n> <html><head></head><body style=\"color:red;\"><h1>header</h1></body></html>\n> ```\n>\n\n### Example 3\n\n```js\nimport { rehype } from 'rehype';\nimport rehypeRewrite from 'rehype-rewrite';\nimport stringify from 'rehype-stringify';\n\nconst html = `<h1>hello</h1>`;\nconst htmlStr = rehype()\n  .data('settings', { fragment: true })\n  .use(rehypeRewrite, {\n    rewrite: (node) => {\n      if (node.type == 'element' && node.tagName == 'h1') {\n        node.children = [ ...node.children, {\n          type: 'element',\n          tagName: 'span',\n          properties: {},\n          children: [\n            {type: 'text', value: ' world'}\n          ]\n        }]\n      }\n    }\n  })\n  .use(stringify)\n  .processSync(html)\n  .toString()\n```\n\n> ```html\n> <h1>hello</h1>\n> ```\n> **`Output:`** \n> \n> ```html\n> <h1>hello<span> world</span></h1>\n> ```\n> \n\n### Example 4\n\n```js\nimport { unified } from 'unified';\nimport remarkParse from 'remark-parse';\nimport rehypeRaw from 'rehype-raw';\nimport remark2rehype from 'remark-rehype';\nimport rehypeRewrite from 'rehype-rewrite';\nimport stringify from 'rehype-stringify';\n\nconst html = `<h1>hello</h1>`;\nconst htmlStr = unified()\n  .use(remarkParse)\n  .use(remark2rehype, { allowDangerousHtml: true })\n  .use(rehypeRaw)\n  .use(rehypeRewrite, {\n    rewrite: (node) => {\n      if (node.type == 'element' && node.tagName == 'h1') {\n        node.properties = { ...node.properties, style: 'color:red;' }\n      }\n    }\n  })\n  .use(stringify)\n  .processSync(html)\n  .toString()\n```\n\n> ```html\n> <h1>hello</h1>\n> ```\n>\n> **`Output:`** \n> \n> ```html\n> <h1 style=\"color:red;\">Hello World!</h1>\n> ```\n> \n\n## Related\n\n- [`rehype-video`](https://github.com/jaywcjlove/rehype-video) Add improved video syntax: links to `.mp4` and `.mov` turn into videos.\n- [`rehype-attr`](https://github.com/jaywcjlove/rehype-attr) New syntax to add attributes to Markdown.\n- [`rehype-ignore`](https://github.com/jaywcjlove/rehype-ignore) Ignore content display via HTML comments, Shown in GitHub readme, excluded in HTML.\n- [`remark-github-blockquote-alert`](https://github.com/jaywcjlove/remark-github-blockquote-alert) Remark plugin to add support for GitHub Alert.\n\n## Contributors\n\nAs always, thanks to our amazing contributors!\n\n<a href=\"https://github.com/jaywcjlove/rehype-rewrite/graphs/contributors\">\n  <img src=\"https://jaywcjlove.github.io/rehype-rewrite/CONTRIBUTORS.svg\" />\n</a>\n\nMade with [action-contributors](https://github.com/jaywcjlove/github-action-contributors).\n\n\n## License\n\nMIT © [Kenny Wong](https://github.com/jaywcjlove)\n","readmeFilename":"README.md"}