{"_id":"rehype","_rev":"3548684","name":"rehype","description":"HTML processor powered by plugins part of the unified collective","dist-tags":{"latest":"13.0.1"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"time":{"modified":"2024-09-19T02:38:26.000Z","created":"2016-06-19T12:33:03.668Z","13.0.1":"2023-08-30T07:26:14.818Z","13.0.0":"2023-08-26T09:17:48.081Z","12.0.1":"2022-01-29T10:36:44.756Z","12.0.0":"2021-07-30T15:51:11.678Z","11.0.0":"2020-06-08T14:00:33.269Z","10.0.0":"2020-03-30T08:56:42.654Z","9.0.1":"2019-11-09T20:27:56.228Z","9.0.0":"2019-07-01T14:10:00.448Z","8.0.0":"2019-06-03T17:17:32.384Z","7.0.0":"2018-11-17T19:58:23.373Z","6.0.0":"2018-07-17T20:59:39.706Z","5.0.1":"2017-12-03T14:26:15.578Z","5.0.0":"2017-06-18T09:57:08.735Z","4.0.0":"2017-02-23T21:13:45.009Z","3.0.0":"2016-09-08T10:29:59.610Z","2.0.0":"2016-07-26T14:38:46.463Z","1.0.0":"2016-06-19T12:33:03.668Z"},"users":{"danielbayley":true},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/rehypejs/rehype.git#main"},"versions":{"13.0.1":{"name":"rehype","version":"13.0.1","description":"HTML processor powered by plugins part of the unified collective","license":"MIT","keywords":["abstract","ast","html","parse","process","rehype","serialize","stringify","syntax","tree","unified"],"dependencies":{"@types/hast":"^3.0.0","rehype-parse":"^9.0.0","rehype-stringify":"^10.0.0","unified":"^11.0.0"},"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"git+https://github.com/rehypejs/rehype.git#main"},"bugs":{"url":"https://github.com/rehypejs/rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","exports":"./index.js","scripts":{},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"c006fa914e0870cdeb003dcdc6b5b050750b16d2","types":"./index.d.ts","_id":"rehype@13.0.1","_nodeVersion":"20.0.0","_npmVersion":"9.7.2","dist":{"shasum":"56384ba83955e2f3aa7eca1975b406c67d9dbd5e","size":4092,"noattachment":false,"key":"/rehype/-/rehype-13.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype/download/rehype-13.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype_13.0.1_1693380374657_0.6293308325703835"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-30T07:26:14.818Z","publish_time":1693380374818,"_source_registry_name":"default","_cnpm_publish_time":1693380374818},"13.0.0":{"name":"rehype","version":"13.0.0","description":"HTML processor powered by plugins part of the unified collective","license":"MIT","keywords":["abstract","ast","html","parse","process","rehype","serialize","stringify","syntax","tree","unified"],"dependencies":{"@types/hast":"^3.0.0","rehype-parse":"^9.0.0","rehype-stringify":"^10.0.0","unified":"^11.0.0"},"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"git+https://github.com/rehypejs/rehype.git#main"},"bugs":{"url":"https://github.com/rehypejs/rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","exports":"./index.js","scripts":{},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"6d822c18a7df98c327ac025c686c42ed4d86467e","types":"./index.d.ts","_id":"rehype@13.0.0","_nodeVersion":"20.0.0","_npmVersion":"9.7.2","dist":{"shasum":"ab3f1c8e11b231869c4ef839db731dde5fb327e5","size":4041,"noattachment":false,"key":"/rehype/-/rehype-13.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype/download/rehype-13.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype_13.0.0_1693041467875_0.8987887543963788"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-26T09:17:48.081Z","publish_time":1693041468081,"_source_registry_name":"default","_cnpm_publish_time":1693041468081},"12.0.1":{"name":"rehype","version":"12.0.1","description":"HTML processor powered by plugins part of the unified collective","license":"MIT","keywords":["unified","rehype","html","abstract","syntax","tree","ast","parse","stringify","serialize","process"],"dependencies":{"@types/hast":"^2.0.0","rehype-parse":"^8.0.0","rehype-stringify":"^9.0.0","unified":"^10.0.0"},"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"git+https://github.com/rehypejs/rehype.git#main"},"bugs":{"url":"https://github.com/rehypejs/rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","scripts":{"build":"rimraf \"*.d.ts\" && tsc && type-coverage"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"18500fe5b59b4a4d4f9f643ba43b39d42c3d7a0d","_id":"rehype@12.0.1","_nodeVersion":"17.4.0","_npmVersion":"8.3.1","dist":{"shasum":"68a317662576dcaa2565a3952e149d6900096bf6","size":4062,"noattachment":false,"key":"/rehype/-/rehype-12.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype/download/rehype-12.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype_12.0.1_1643452604631_0.926564072831422"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-29T10:38:08.953Z","publish_time":1643452604756,"_cnpm_publish_time":1643452604756},"12.0.0":{"name":"rehype","version":"12.0.0","description":"HTML processor powered by plugins part of the unified collective","license":"MIT","keywords":["unified","rehype","html","abstract","syntax","tree","ast","parse","stringify","serialize","process"],"dependencies":{"@types/hast":"^2.0.0","rehype-parse":"^8.0.0","rehype-stringify":"^9.0.0","unified":"^10.0.0"},"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"git+https://github.com/rehypejs/rehype.git#main"},"bugs":{"url":"https://github.com/rehypejs/rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","scripts":{"build":"rimraf \"*.d.ts\" && tsc && type-coverage"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"_id":"rehype@12.0.0","_nodeVersion":"16.2.0","_npmVersion":"7.18.1","dist":{"shasum":"d5e80a206da2479b3564722bc2ba882e0f4240ec","size":2836,"noattachment":false,"key":"/rehype/-/rehype-12.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype/download/rehype-12.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype_12.0.0_1627660271531_0.2186678829412969"},"_hasShrinkwrap":false,"publish_time":1627660271678,"_cnpm_publish_time":1627660271678},"11.0.0":{"name":"rehype","version":"11.0.0","description":"HTML processor powered by plugins part of the unified collective","license":"MIT","keywords":["unified","rehype","html","abstract","syntax","tree","ast","parse","stringify","serialize","process"],"dependencies":{"rehype-parse":"^7.0.0","rehype-stringify":"^8.0.0","unified":"^9.0.0"},"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"https://github.com/rehypejs/rehype/tree/master/packages/rehype"},"bugs":{"url":"https://github.com/rehypejs/rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"types":"types/index.d.ts","scripts":{},"xo":false,"_id":"rehype@11.0.0","_nodeVersion":"14.0.0","_npmVersion":"6.14.5","dist":{"shasum":"d81729e65f4ac2b26f5de0b6bafc257eb0780e1f","size":2614,"noattachment":false,"key":"/rehype/-/rehype-11.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype/download/rehype-11.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype_11.0.0_1591624833137_0.1095529237888988"},"_hasShrinkwrap":false,"publish_time":1591624833269,"_cnpm_publish_time":1591624833269},"10.0.0":{"name":"rehype","version":"10.0.0","description":"HTML processor powered by plugins part of the unified collective","license":"MIT","keywords":["unified","rehype","html","abstract","syntax","tree","ast","parse","stringify","serialize","process"],"dependencies":{"rehype-parse":"^6.0.0","rehype-stringify":"^6.0.0","unified":"^9.0.0"},"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"https://github.com/rehypejs/rehype/tree/master/packages/rehype"},"bugs":{"url":"https://github.com/rehypejs/rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"scripts":{},"xo":false,"_id":"rehype@10.0.0","_nodeVersion":"13.10.1","_npmVersion":"6.14.3","dist":{"shasum":"817a52747ebbb78c02d34d12efb0ccfac8195228","size":2442,"noattachment":false,"key":"/rehype/-/rehype-10.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype/download/rehype-10.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype_10.0.0_1585558602502_0.9732915529324455"},"_hasShrinkwrap":false,"publish_time":1585558602654,"_cnpm_publish_time":1585558602654},"9.0.1":{"name":"rehype","version":"9.0.1","description":"HTML processor powered by plugins","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse","stringify","process"],"dependencies":{"rehype-parse":"^6.0.0","rehype-stringify":"^6.0.0","unified":"^8.0.0"},"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"https://github.com/rehypejs/rehype/tree/master/packages/rehype"},"bugs":{"url":"https://github.com/rehypejs/rehype/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"scripts":{},"xo":false,"_id":"rehype@9.0.1","_nodeVersion":"13.0.1","_npmVersion":"6.13.0","dist":{"shasum":"c7abaeb93f1abc4d5878478f492d0c95323ddc8a","size":2439,"noattachment":false,"key":"/rehype/-/rehype-9.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype/download/rehype-9.0.1.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype_9.0.1_1573331276044_0.03016175602589044"},"_hasShrinkwrap":false,"publish_time":1573331276228,"_cnpm_publish_time":1573331276228},"9.0.0":{"name":"rehype","version":"9.0.0","description":"HTML processor powered by plugins","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse","stringify","process"],"dependencies":{"rehype-parse":"^6.0.0","rehype-stringify":"^6.0.0","unified":"^8.0.0"},"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"https://github.com/rehypejs/rehype/tree/master/packages/rehype"},"bugs":{"url":"https://github.com/rehypejs/rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"scripts":{},"xo":false,"_id":"rehype@9.0.0","_nodeVersion":"12.2.0","_npmVersion":"6.9.2","dist":{"shasum":"0eb64763aa0c94a8df753e14cabf985ae7d062a1","size":2267,"noattachment":false,"key":"/rehype/-/rehype-9.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype/download/rehype-9.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype_9.0.0_1561990200309_0.41901954551531384"},"_hasShrinkwrap":false,"publish_time":1561990200448,"_cnpm_publish_time":1561990200448},"8.0.0":{"name":"rehype","version":"8.0.0","description":"HTML processor powered by plugins","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse","stringify","process"],"dependencies":{"rehype-parse":"^6.0.0","rehype-stringify":"^6.0.0","unified":"^7.0.0"},"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"https://github.com/rehypejs/rehype/tree/master/packages/rehype"},"bugs":{"url":"https://github.com/rehypejs/rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"scripts":{},"xo":false,"_id":"rehype@8.0.0","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"shasum":"d0776cfcc353dd15c4c03b2de76d78a6c302e69c","size":2270,"noattachment":false,"key":"/rehype/-/rehype-8.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype/download/rehype-8.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype_8.0.0_1559582252283_0.5832744677934354"},"_hasShrinkwrap":false,"publish_time":1559582252384,"_cnpm_publish_time":1559582252384},"7.0.0":{"name":"rehype","version":"7.0.0","description":"HTML processor powered by plugins","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse","stringify","process"],"dependencies":{"rehype-parse":"^6.0.0","rehype-stringify":"^5.0.0","unified":"^7.0.0"},"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"https://github.com/rehypejs/rehype/tree/master/packages/rehype"},"bugs":{"url":"https://github.com/rehypejs/rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"scripts":{},"xo":false,"_id":"rehype@7.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"23a0134d341de8b693c02a0fedf96498f5c82b61","size":1908,"noattachment":false,"key":"/rehype/-/rehype-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype/download/rehype-7.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype_7.0.0_1542484703213_0.5596060243799799"},"_hasShrinkwrap":false,"publish_time":1542484703373,"_cnpm_publish_time":1542484703373},"6.0.0":{"name":"rehype","version":"6.0.0","description":"HTML processor powered by plugins","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse","stringify","process"],"dependencies":{"rehype-parse":"^5.0.0","rehype-stringify":"^4.0.0","unified":"^7.0.0"},"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"https://github.com/rehypejs/rehype/tree/master/packages/rehype"},"bugs":{"url":"https://github.com/rehypejs/rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js"],"scripts":{},"xo":false,"_id":"rehype@6.0.0","_npmVersion":"6.2.0","_nodeVersion":"10.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"873d4686c52d694560cf5d3f9e4440115840491d","size":1363,"noattachment":false,"key":"/rehype/-/rehype-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype/download/rehype-6.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype_6.0.0_1531861179639_0.05520607792834409"},"_hasShrinkwrap":false,"publish_time":1531861179706,"_cnpm_publish_time":1531861179706},"5.0.1":{"name":"rehype","version":"5.0.1","description":"HTML processor powered by plugins","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse","stringify","process"],"dependencies":{"rehype-parse":"^4.0.0","rehype-stringify":"^3.0.0","unified":"^6.0.0"},"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"https://github.com/rehypejs/rehype/tree/master/packages/rehype"},"bugs":{"url":"https://github.com/rehypejs/rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"engines":{"node":">=0.11.0"},"files":["index.js"],"scripts":{},"xo":false,"_id":"rehype@5.0.1","_npmVersion":"5.5.1","_nodeVersion":"9.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"75c9d711fb26a303bd3ab213f93b74f746d5f388","size":1403,"noattachment":false,"key":"/rehype/-/rehype-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype/download/rehype-5.0.1.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-5.0.1.tgz_1512311175479_0.5112224421463907"},"directories":{},"publish_time":1512311175578,"_hasShrinkwrap":false,"_cnpm_publish_time":1512311175578},"5.0.0":{"name":"rehype","version":"5.0.0","description":"HTML processor powered by plugins","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse","stringify","process"],"dependencies":{"rehype-parse":"^4.0.0","rehype-stringify":"^3.0.0","unified":"^6.0.0"},"homepage":"https://github.com/wooorm/rehype","repository":{"type":"git","url":"https://github.com/wooorm/rehype/tree/master/packages/rehype"},"bugs":{"url":"https://github.com/wooorm/rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"engines":{"node":">=0.11.0"},"files":["index.js"],"scripts":{},"xo":false,"_id":"rehype@5.0.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"d04ec5e5b03b9ee8181c9681ac4c45822303adfb","size":1465,"noattachment":false,"key":"/rehype/-/rehype-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype/download/rehype-5.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-5.0.0.tgz_1497779827720_0.4550127754919231"},"directories":{},"publish_time":1497779828735,"_hasShrinkwrap":false,"_cnpm_publish_time":1497779828735},"4.0.0":{"name":"rehype","version":"4.0.0","description":"HTML processor powered by plugins","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse","stringify","process"],"dependencies":{"rehype-parse":"^3.0.0","rehype-stringify":"^3.0.0","unified":"^6.0.0"},"homepage":"https://github.com/wooorm/rehype","repository":{"type":"git","url":"https://github.com/wooorm/rehype/tree/master/packages/rehype"},"bugs":{"url":"https://github.com/wooorm/rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"engines":{"node":">=0.11.0"},"files":["index.js"],"scripts":{},"xo":false,"_id":"rehype@4.0.0","_shasum":"2ed92dd269bfa549f7108fd2c4f6f626d27c7be4","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"2ed92dd269bfa549f7108fd2c4f6f626d27c7be4","size":1452,"noattachment":false,"key":"/rehype/-/rehype-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype/download/rehype-4.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rehype-4.0.0.tgz_1487884423049_0.13934460235759616"},"directories":{},"publish_time":1487884425009,"_cnpm_publish_time":1487884425009,"_hasShrinkwrap":false},"3.0.0":{"name":"rehype","version":"3.0.0","description":"HTML processor powered by plugins","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse","stringify","process"],"dependencies":{"rehype-parse":"^2.0.0","rehype-stringify":"^2.0.0","unified":"^5.0.0"},"homepage":"https://github.com/wooorm/rehype","repository":{"type":"git","url":"https://github.com/wooorm/rehype/tree/master/packages/rehype"},"bugs":{"url":"https://github.com/wooorm/rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"engines":{"node":">=0.11.0"},"files":["index.js"],"scripts":{},"_id":"rehype@3.0.0","_shasum":"4fc62d390fac2f5ef8f910e76fc358ad421b967a","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"4fc62d390fac2f5ef8f910e76fc358ad421b967a","size":1450,"noattachment":false,"key":"/rehype/-/rehype-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype/download/rehype-3.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rehype-3.0.0.tgz_1473330598111_0.5957827346865088"},"directories":{},"publish_time":1473330599610,"_cnpm_publish_time":1473330599610,"_hasShrinkwrap":false},"2.0.0":{"name":"rehype","version":"2.0.0","description":"HTML processor powered by plugins","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse","stringify","process"],"dependencies":{"rehype-parse":"^2.0.0","rehype-stringify":"^2.0.0","unified":"^4.1.1"},"homepage":"https://github.com/wooorm/rehype","repository":{"type":"git","url":"https://github.com/wooorm/rehype/tree/master/packages/rehype"},"bugs":{"url":"https://github.com/wooorm/rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"engines":{"node":">=0.11.0"},"files":["index.js"],"scripts":{},"_id":"rehype@2.0.0","_shasum":"16b8ffc7454b010c70567ee45ef30ed0e5aaef73","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"16b8ffc7454b010c70567ee45ef30ed0e5aaef73","size":1450,"noattachment":false,"key":"/rehype/-/rehype-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype/download/rehype-2.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rehype-2.0.0.tgz_1469543924159_0.07612190558575094"},"directories":{},"publish_time":1469543926463,"_cnpm_publish_time":1469543926463,"_hasShrinkwrap":false},"1.0.0":{"name":"rehype","version":"1.0.0","description":"HTML processor powered by plugins","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse","stringify","process"],"dependencies":{"html-void-elements":"^1.0.0","rehype-parse":"^1.0.0","rehype-stringify":"^1.0.0","unified":"^4.1.1"},"homepage":"https://github.com/wooorm/rehype","repository":{"type":"git","url":"https://github.com/wooorm/rehype/tree/master/packages/rehype"},"bugs":{"url":"https://github.com/wooorm/rehype/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"engines":{"node":">=0.11.0"},"files":["index.js"],"scripts":{},"_id":"rehype@1.0.0","_shasum":"1c8868a7eb4579e70a2368489b3e01d621f74ec1","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"1c8868a7eb4579e70a2368489b3e01d621f74ec1","size":1483,"noattachment":false,"key":"/rehype/-/rehype-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype/download/rehype-1.0.0.tgz"},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rehype-1.0.0.tgz_1466339581391_0.5427067033015192"},"directories":{},"publish_time":1466339583668,"_cnpm_publish_time":1466339583668,"_hasShrinkwrap":false}},"readme":"# rehype\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n[![Sponsors][sponsors-badge]][collective]\n[![Backers][backers-badge]][collective]\n[![Chat][chat-badge]][chat]\n\n**[unified][]** processor to add support for parsing from HTML and serializing\nto HTML.\n\n## Contents\n\n*   [What is this?](#what-is-this)\n*   [When should I use this?](#when-should-i-use-this)\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`rehype()`](#rehype-1)\n*   [Examples](#examples)\n    *   [Example: passing options to `rehype-parse`, `rehype-stringify`](#example-passing-options-to-rehype-parse-rehype-stringify)\n*   [Syntax](#syntax)\n*   [Syntax tree](#syntax-tree)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Security](#security)\n*   [Contribute](#contribute)\n*   [Sponsor](#sponsor)\n*   [License](#license)\n\n## What is this?\n\nThis package is a [unified][] processor with support for parsing HTML as input\nand serializing HTML as output by using unified with\n[`rehype-parse`][rehype-parse] and [`rehype-stringify`][rehype-stringify].\n\nSee [the monorepo readme][rehype] for info on what the rehype ecosystem is.\n\n## When should I use this?\n\nYou can use this package when you want to use unified, have HTML as input, and\nwant HTML as output.\nThis package is a shortcut for\n`unified().use(rehypeParse).use(rehypeStringify)`.\nWhen the input isn’t HTML (meaning you don’t need `rehype-parse`) or the\noutput is not HTML (you don’t need `rehype-stringify`), it’s recommended to\nuse `unified` directly.\n\nWhen you’re in a browser, trust your content, don’t need positional info on\nnodes or formatting options, and value a smaller bundle size, you can use\n[`rehype-dom`][rehype-dom] instead.\n\nWhen you want to inspect and format HTML files in a project on the command\nline, you can use [`rehype-cli`][rehype-cli].\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install rehype\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {rehype} from 'https://esm.sh/rehype@13'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {rehype} from 'https://esm.sh/rehype@13?bundle'\n</script>\n```\n\n## Use\n\nSay we have the following module `example.js`:\n\n```js\nimport {rehype} from 'rehype'\nimport rehypeFormat from 'rehype-format'\n\nconst file = await rehype().use(rehypeFormat).process(`<!doctype html>\n        <html lang=en>\n<head>\n    <title>Hi!</title>\n  </head>\n  <body>\n    <h1>Hello!</h1>\n\n</body></html>`)\n\nconsole.error(String(file))\n```\n\n…running that with `node example.js` yields:\n\n```html\n<!doctype html>\n<html lang=\"en\">\n  <head>\n    <title>Hi!</title>\n  </head>\n  <body>\n    <h1>Hello!</h1>\n  </body>\n</html>\n```\n\n## API\n\nThis package exports the identifier [`rehype`][api-rehype].\nThere is no default export.\n\n### `rehype()`\n\nCreate a new unified processor that already uses\n[`rehype-parse`][rehype-parse] and [`rehype-stringify`][rehype-stringify].\n\nYou can add more plugins with `use`.\nSee [`unified`][unified] for more information.\n\n## Examples\n\n### Example: passing options to `rehype-parse`, `rehype-stringify`\n\nWhen you use `rehype-parse` or `rehype-stringify` manually you can pass options\ndirectly to them with `use`.\nBecause both plugins are already used in `rehype`, that’s not possible.\nTo define options for them, you can instead pass options to `data`:\n\n```js\nimport {rehype} from 'rehype'\nimport {reporter} from 'vfile-reporter'\n\nconst file = await rehype()\n  .data('settings', {\n    emitParseErrors: true,\n    fragment: true,\n    preferUnquoted: true\n  })\n  .process('<div title=\"a\" title=\"b\"></div>')\n\nconsole.error(reporter(file))\nconsole.log(String(file))\n```\n\n…yields:\n\n```txt\n1:21-1:21 warning Unexpected duplicate attribute duplicate-attribute hast-util-from-html\n\n⚠ 1 warning\n```\n\n```html\n<div title=a></div>\n```\n\n## Syntax\n\nHTML is parsed and serialized according to WHATWG HTML (the living standard),\nwhich is also followed by all browsers.\n\n## Syntax tree\n\nThe syntax tree format used in rehype is [hast][].\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports no additional types.\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with maintained\nversions of Node.js.\n\nWhen we cut a new major release, we drop support for unmaintained versions of\nNode.\nThis means we try to keep the current release line, `rehype@^13`, compatible\nwith Node.js 16.\n\n## Security\n\nAs **rehype** works on HTML, and improper use of HTML can open you up to a\n[cross-site scripting (XSS)][xss] attack, use of rehype can also be unsafe.\nUse [`rehype-sanitize`][rehype-sanitize] to make the tree safe.\n\nUse of rehype plugins could also open you up to other attacks.\nCarefully assess each plugin and the risks involved in using them.\n\nFor info on how to submit a report, see our [security policy][security].\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`rehypejs/.github`][health] for ways\nto get started.\nSee [`support.md`][support] for ways to get help.\n\nThis project has a [code of conduct][coc].\nBy interacting with this repository, organization, or community you agree to\nabide by its terms.\n\n## Sponsor\n\nSupport this effort and give back by sponsoring on [OpenCollective][collective]!\n\n<table>\n<tr valign=\"middle\">\n<td width=\"20%\" align=\"center\" rowspan=\"2\" colspan=\"2\">\n  <a href=\"https://vercel.com\">Vercel</a><br><br>\n  <a href=\"https://vercel.com\"><img src=\"https://avatars1.githubusercontent.com/u/14985020?s=256&v=4\" width=\"128\"></a>\n</td>\n<td width=\"20%\" align=\"center\" rowspan=\"2\" colspan=\"2\">\n  <a href=\"https://motif.land\">Motif</a><br><br>\n  <a href=\"https://motif.land\"><img src=\"https://avatars1.githubusercontent.com/u/74457950?s=256&v=4\" width=\"128\"></a>\n</td>\n<td width=\"20%\" align=\"center\" rowspan=\"2\" colspan=\"2\">\n  <a href=\"https://www.hashicorp.com\">HashiCorp</a><br><br>\n  <a href=\"https://www.hashicorp.com\"><img src=\"https://avatars1.githubusercontent.com/u/761456?s=256&v=4\" width=\"128\"></a>\n</td>\n<td width=\"20%\" align=\"center\" rowspan=\"2\" colspan=\"2\">\n  <a href=\"https://www.gitbook.com\">GitBook</a><br><br>\n  <a href=\"https://www.gitbook.com\"><img src=\"https://avatars1.githubusercontent.com/u/7111340?s=256&v=4\" width=\"128\"></a>\n</td>\n<td width=\"20%\" align=\"center\" rowspan=\"2\" colspan=\"2\">\n  <a href=\"https://www.gatsbyjs.org\">Gatsby</a><br><br>\n  <a href=\"https://www.gatsbyjs.org\"><img src=\"https://avatars1.githubusercontent.com/u/12551863?s=256&v=4\" width=\"128\"></a>\n</td>\n</tr>\n<tr valign=\"middle\">\n</tr>\n<tr valign=\"middle\">\n<td width=\"20%\" align=\"center\" rowspan=\"2\" colspan=\"2\">\n  <a href=\"https://www.netlify.com\">Netlify</a><br><br>\n  <!--OC has a sharper image-->\n  <a href=\"https://www.netlify.com\"><img src=\"https://images.opencollective.com/netlify/4087de2/logo/256.png\" width=\"128\"></a>\n</td>\n<td width=\"10%\" align=\"center\">\n  <a href=\"https://www.coinbase.com\">Coinbase</a><br><br>\n  <a href=\"https://www.coinbase.com\"><img src=\"https://avatars1.githubusercontent.com/u/1885080?s=256&v=4\" width=\"64\"></a>\n</td>\n<td width=\"10%\" align=\"center\">\n  <a href=\"https://themeisle.com\">ThemeIsle</a><br><br>\n  <a href=\"https://themeisle.com\"><img src=\"https://avatars1.githubusercontent.com/u/58979018?s=128&v=4\" width=\"64\"></a>\n</td>\n<td width=\"10%\" align=\"center\">\n  <a href=\"https://expo.io\">Expo</a><br><br>\n  <a href=\"https://expo.io\"><img src=\"https://avatars1.githubusercontent.com/u/12504344?s=128&v=4\" width=\"64\"></a>\n</td>\n<td width=\"10%\" align=\"center\">\n  <a href=\"https://boostnote.io\">Boost Note</a><br><br>\n  <a href=\"https://boostnote.io\"><img src=\"https://images.opencollective.com/boosthub/6318083/logo/128.png\" width=\"64\"></a>\n</td>\n<td width=\"10%\" align=\"center\">\n  <a href=\"https://markdown.space\">Markdown Space</a><br><br>\n  <a href=\"https://markdown.space\"><img src=\"https://images.opencollective.com/markdown-space/e1038ed/logo/128.png\" width=\"64\"></a>\n</td>\n<td width=\"10%\" align=\"center\">\n  <a href=\"https://www.holloway.com\">Holloway</a><br><br>\n  <a href=\"https://www.holloway.com\"><img src=\"https://avatars1.githubusercontent.com/u/35904294?s=128&v=4\" width=\"64\"></a>\n</td>\n<td width=\"10%\"></td>\n<td width=\"10%\"></td>\n</tr>\n<tr valign=\"middle\">\n<td width=\"100%\" align=\"center\" colspan=\"8\">\n  <br>\n  <a href=\"https://opencollective.com/unified\"><strong>You?</strong></a>\n  <br><br>\n</td>\n</tr>\n</table>\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/rehypejs/rehype/workflows/main/badge.svg\n\n[build]: https://github.com/rehypejs/rehype/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/rehypejs/rehype.svg\n\n[coverage]: https://codecov.io/github/rehypejs/rehype\n\n[downloads-badge]: https://img.shields.io/npm/dm/rehype.svg\n\n[downloads]: https://www.npmjs.com/package/rehype\n\n[size-badge]: https://img.shields.io/bundlejs/size/rehype\n\n[size]: https://bundlejs.com/?q=rehype\n\n[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[collective]: https://opencollective.com/unified\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[chat]: https://github.com/rehypejs/rehype/discussions\n\n[health]: https://github.com/rehypejs/.github\n\n[security]: https://github.com/rehypejs/.github/blob/main/security.md\n\n[contributing]: https://github.com/rehypejs/.github/blob/main/contributing.md\n\n[support]: https://github.com/rehypejs/.github/blob/main/support.md\n\n[coc]: https://github.com/rehypejs/.github/blob/main/code-of-conduct.md\n\n[license]: https://github.com/rehypejs/rehype/blob/main/license\n\n[author]: https://wooorm.com\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esmsh]: https://esm.sh\n\n[unified]: https://github.com/unifiedjs/unified\n\n[rehype]: https://github.com/rehypejs/rehype\n\n[hast]: https://github.com/syntax-tree/hast\n\n[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting\n\n[typescript]: https://www.typescriptlang.org\n\n[rehype-parse]: ../rehype-parse/\n\n[rehype-stringify]: ../rehype-stringify/\n\n[rehype-cli]: ../rehype-cli/\n\n[rehype-sanitize]: https://github.com/rehypejs/rehype-sanitize\n\n[rehype-dom]: https://github.com/rehypejs/rehype-dom/tree/main/packages/rehype-dom\n\n[api-rehype]: #rehype-1\n","_attachments":{},"homepage":"https://github.com/rehypejs/rehype","bugs":{"url":"https://github.com/rehypejs/rehype/issues"},"license":"MIT"}