{"_id":"rehype-parse","_rev":"261178","name":"rehype-parse","description":"rehype plugin to parse HTML","dist-tags":{"latest":"8.0.4"},"maintainers":[{"name":"wooorm","email":""}],"time":{"modified":"2023-03-27T17:16:27.000Z","created":"2016-06-19T12:10:21.993Z","8.0.4":"2022-01-29T10:35:41.057Z","8.0.3":"2021-08-31T12:37:21.448Z","8.0.2":"2021-08-08T15:07:12.322Z","8.0.1":"2021-07-30T17:15:07.738Z","8.0.0":"2021-07-30T15:51:07.107Z","7.0.1":"2020-06-21T13:00:14.056Z","7.0.0":"2020-06-08T13:59:12.884Z","6.0.2":"2019-11-09T20:27:14.658Z","6.0.1":"2019-07-01T14:08:41.380Z","6.0.0":"2018-11-17T19:56:52.990Z","5.0.0":"2018-07-17T20:57:59.937Z","4.1.0":"2018-01-21T14:14:00.091Z","4.0.0":"2017-06-18T09:53:50.908Z","3.1.0":"2017-03-05T12:17:57.283Z","3.0.0":"2017-02-23T21:13:24.971Z","2.0.1":"2016-09-17T16:54:13.571Z","2.0.0":"2016-07-26T14:38:11.892Z","1.0.0":"2016-06-19T12:32:33.534Z","0.0.0":"2016-06-19T12:10:21.993Z"},"users":{},"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":{"8.0.4":{"name":"rehype-parse","version":"8.0.4","description":"rehype plugin to parse HTML","license":"MIT","keywords":["unified","rehype","rehype-plugin","plugin","html","abstract","syntax","tree","ast","parse"],"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","dependencies":{"@types/hast":"^2.0.0","hast-util-from-parse5":"^7.0.0","parse5":"^6.0.0","unified":"^10.0.0"},"scripts":{"build":"rimraf \"lib/**/*.d.ts\" && tsc && type-coverage"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"8524f7865482e495f7eec4715694d4b9ffebe591","_id":"rehype-parse@8.0.4","_nodeVersion":"17.4.0","_npmVersion":"8.3.1","dist":{"shasum":"3d17c9ff16ddfef6bbcc8e6a25a99467b482d688","size":12930,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-8.0.4.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-8.0.4.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-parse_8.0.4_1643452540901_0.7173079635579729"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-29T10:36:59.191Z","publish_time":1643452541057,"_cnpm_publish_time":1643452541057},"8.0.3":{"name":"rehype-parse","version":"8.0.3","description":"rehype plugin to parse HTML","license":"MIT","keywords":["unified","rehype","rehype-plugin","plugin","html","abstract","syntax","tree","ast","parse"],"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","dependencies":{"@types/hast":"^2.0.0","hast-util-from-parse5":"^7.0.0","parse5":"^6.0.0","unified":"^10.0.0"},"scripts":{"build":"rimraf \"lib/**/*.d.ts\" && tsc && type-coverage"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"cbbcf16672397e1dbbd628dcdbe896e85ba6e00d","_id":"rehype-parse@8.0.3","_nodeVersion":"16.6.1","_npmVersion":"7.21.1","dist":{"shasum":"a1947132a08a930d0c2b6fd2b3dbcc137457c07a","size":11564,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-8.0.3.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-8.0.3.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-parse_8.0.3_1630413441337_0.4031339462090422"},"_hasShrinkwrap":false,"publish_time":1630413441448,"_cnpm_publish_time":1630413441448,"_cnpmcore_publish_time":"2021-12-16T11:04:46.347Z"},"8.0.2":{"name":"rehype-parse","version":"8.0.2","description":"rehype plugin to parse HTML","license":"MIT","keywords":["unified","rehype","rehype-plugin","plugin","html","abstract","syntax","tree","ast","parse"],"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","dependencies":{"@types/hast":"^2.0.0","hast-util-from-parse5":"^7.0.0","parse5":"^6.0.0","unified":"^10.0.0"},"scripts":{"build":"rimraf \"lib/**/*.d.ts\" && tsc && type-coverage"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"_id":"rehype-parse@8.0.2","_nodeVersion":"16.6.1","_npmVersion":"7.20.3","dist":{"shasum":"8e8ebe6bff33521a446eacce818a49848d0c1b46","size":11565,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-8.0.2.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-8.0.2.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-parse_8.0.2_1628435232113_0.6511734266964764"},"_hasShrinkwrap":false,"publish_time":1628435232322,"_cnpm_publish_time":1628435232322,"_cnpmcore_publish_time":"2021-12-16T11:04:46.621Z"},"8.0.1":{"name":"rehype-parse","version":"8.0.1","description":"rehype plugin to parse HTML","license":"MIT","keywords":["unified","rehype","rehype-plugin","plugin","html","abstract","syntax","tree","ast","parse"],"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","dependencies":{"@types/hast":"^2.0.0","hast-util-from-parse5":"^7.0.0","parse5":"^6.0.0","unified":"^10.0.0"},"scripts":{"build":"rimraf \"lib/**/*.d.ts\" && tsc && type-coverage"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"_id":"rehype-parse@8.0.1","_nodeVersion":"16.2.0","_npmVersion":"7.18.1","dist":{"shasum":"ac7e061ee68a278ea9184714334f666faf168909","size":11563,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-8.0.1.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-8.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-parse_8.0.1_1627665307519_0.8237058496690683"},"_hasShrinkwrap":false,"publish_time":1627665307738,"_cnpm_publish_time":1627665307738,"_cnpmcore_publish_time":"2021-12-16T11:04:46.876Z"},"8.0.0":{"name":"rehype-parse","version":"8.0.0","description":"rehype plugin to parse HTML","license":"MIT","keywords":["unified","rehype","rehype-plugin","plugin","html","abstract","syntax","tree","ast","parse"],"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","dependencies":{"@types/hast":"^2.0.0","hast-util-from-parse5":"^7.0.0","parse5":"^6.0.0","unified":"^10.0.0"},"scripts":{"build":"rimraf \"lib/**/*.d.ts\" && tsc && type-coverage"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"_id":"rehype-parse@8.0.0","_nodeVersion":"16.2.0","_npmVersion":"7.18.1","dist":{"shasum":"49695c4a78e313b8046288567bfba37f28f92b83","size":11567,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-8.0.0.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-8.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-parse_8.0.0_1627660266958_0.8796137317198649"},"_hasShrinkwrap":false,"publish_time":1627660267107,"_cnpm_publish_time":1627660267107,"_cnpmcore_publish_time":"2021-12-16T11:04:47.145Z"},"7.0.1":{"name":"rehype-parse","version":"7.0.1","description":"rehype plugin to parse HTML","license":"MIT","keywords":["unified","rehype","rehype-plugin","plugin","html","abstract","syntax","tree","ast","parse"],"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"https://github.com/rehypejs/rehype/tree/main/packages/rehype-parse"},"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","dependencies":{"hast-util-from-parse5":"^6.0.0","parse5":"^6.0.0"},"xo":false,"_id":"rehype-parse@7.0.1","_nodeVersion":"14.0.0","_npmVersion":"6.14.5","dist":{"shasum":"58900f6702b56767814afc2a9efa2d42b1c90c57","size":8618,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-7.0.1.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-7.0.1.tgz"},"maintainers":[{"name":"wooorm","email":""}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-parse_7.0.1_1592744413864_0.26881842276741463"},"_hasShrinkwrap":false,"publish_time":1592744414056,"_cnpm_publish_time":1592744414056,"_cnpmcore_publish_time":"2021-12-16T11:04:47.359Z"},"7.0.0":{"name":"rehype-parse","version":"7.0.0","description":"rehype plugin to parse HTML","license":"MIT","keywords":["unified","rehype","rehype-plugin","plugin","html","abstract","syntax","tree","ast","parse"],"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"https://github.com/rehypejs/rehype/tree/master/packages/rehype-parse"},"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","dependencies":{"hast-util-from-parse5":"^6.0.0","parse5":"^6.0.0"},"xo":false,"_id":"rehype-parse@7.0.0","_nodeVersion":"14.0.0","_npmVersion":"6.14.5","dist":{"shasum":"7a56fadc0a7248572398c458d2aebf4378339965","size":8534,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-7.0.0.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-7.0.0.tgz"},"maintainers":[{"name":"wooorm","email":""}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-parse_7.0.0_1591624752661_0.019013222054823142"},"_hasShrinkwrap":false,"publish_time":1591624752884,"_cnpm_publish_time":1591624752884,"_cnpmcore_publish_time":"2021-12-16T11:04:47.668Z"},"6.0.2":{"name":"rehype-parse","version":"6.0.2","description":"HTML parser for rehype","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse"],"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"https://github.com/rehypejs/rehype/tree/master/packages/rehype-parse"},"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"}],"dependencies":{"hast-util-from-parse5":"^5.0.0","parse5":"^5.0.0","xtend":"^4.0.0"},"xo":false,"_id":"rehype-parse@6.0.2","_nodeVersion":"13.0.1","_npmVersion":"6.13.0","dist":{"shasum":"aeb3fdd68085f9f796f1d3137ae2b85a98406964","size":8161,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-6.0.2.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-6.0.2.tgz"},"maintainers":[{"name":"wooorm","email":""}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-parse_6.0.2_1573331234549_0.7844354787744479"},"_hasShrinkwrap":false,"publish_time":1573331234658,"_cnpm_publish_time":1573331234658,"_cnpmcore_publish_time":"2021-12-16T11:04:47.918Z"},"6.0.1":{"name":"rehype-parse","version":"6.0.1","description":"HTML parser for rehype","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse"],"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"https://github.com/rehypejs/rehype/tree/master/packages/rehype-parse"},"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"}],"dependencies":{"hast-util-from-parse5":"^5.0.0","parse5":"^5.0.0","xtend":"^4.0.1"},"xo":false,"_id":"rehype-parse@6.0.1","_nodeVersion":"12.2.0","_npmVersion":"6.9.2","dist":{"shasum":"a5401d7f4144d5e17cbb69be11f05a2a7ba87e27","size":8002,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-6.0.1.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-6.0.1.tgz"},"maintainers":[{"name":"wooorm","email":""}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-parse_6.0.1_1561990121236_0.9601402661374223"},"_hasShrinkwrap":false,"publish_time":1561990121380,"_cnpm_publish_time":1561990121380,"_cnpmcore_publish_time":"2021-12-16T11:04:48.099Z"},"6.0.0":{"name":"rehype-parse","version":"6.0.0","description":"HTML parser for rehype","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse"],"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"https://github.com/rehypejs/rehype/tree/master/packages/rehype-parse"},"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"}],"dependencies":{"hast-util-from-parse5":"^5.0.0","parse5":"^5.0.0","xtend":"^4.0.1"},"xo":false,"_id":"rehype-parse@6.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"f681555f2598165bee2c778b39f9073d17b16bca","size":7581,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-6.0.0.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-6.0.0.tgz"},"maintainers":[{"name":"wooorm","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-parse_6.0.0_1542484612859_0.5081372276629763"},"_hasShrinkwrap":false,"publish_time":1542484612990,"_cnpm_publish_time":1542484612990,"_cnpmcore_publish_time":"2021-12-16T11:04:48.318Z"},"5.0.0":{"name":"rehype-parse","version":"5.0.0","description":"HTML parser for rehype","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse"],"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"https://github.com/rehypejs/rehype/tree/master/packages/rehype-parse"},"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","errors.json"],"dependencies":{"hast-util-from-parse5":"^4.0.0","parse5":"^5.0.0","xtend":"^4.0.1"},"xo":false,"_id":"rehype-parse@5.0.0","_npmVersion":"6.2.0","_nodeVersion":"10.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"a103e2d9ee1b3a0dba9223e6f73623b8396e3682","size":7021,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-5.0.0.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-5.0.0.tgz"},"maintainers":[{"name":"wooorm","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-parse_5.0.0_1531861079855_0.7002116621939491"},"_hasShrinkwrap":false,"publish_time":1531861079937,"_cnpm_publish_time":1531861079937,"_cnpmcore_publish_time":"2021-12-16T11:04:48.584Z"},"4.1.0":{"name":"rehype-parse","version":"4.1.0","description":"HTML parser for rehype","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse"],"homepage":"https://github.com/rehypejs/rehype","repository":{"type":"git","url":"https://github.com/rehypejs/rehype/tree/master/packages/rehype-parse"},"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"],"dependencies":{"hast-util-from-parse5":"^2.0.1","parse5":"^4.0.0","xtend":"^4.0.1"},"xo":false,"_id":"rehype-parse@4.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"bb46fcc213205527bc4a0d362f1906c8b1ff0814","size":1729,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-4.1.0.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-4.1.0.tgz"},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-parse-4.1.0.tgz_1516544038018_0.8290818631649017"},"directories":{},"publish_time":1516544040091,"_hasShrinkwrap":false,"_cnpm_publish_time":1516544040091,"_cnpmcore_publish_time":"2021-12-16T11:04:48.786Z"},"4.0.0":{"name":"rehype-parse","version":"4.0.0","description":"HTML parser for rehype","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse"],"homepage":"https://github.com/wooorm/rehype","repository":{"type":"git","url":"https://github.com/wooorm/rehype/tree/master/packages/rehype-parse"},"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"],"dependencies":{"hast-util-from-parse5":"^2.0.1","parse5":"^3.0.0","xtend":"^4.0.1"},"xo":false,"_id":"rehype-parse@4.0.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"a0a35e02d34fe5e84269881c1cd92d78a6987004","size":1728,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-4.0.0.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-4.0.0.tgz"},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-parse-4.0.0.tgz_1497779629944_0.005728259216994047"},"directories":{},"publish_time":1497779630908,"_hasShrinkwrap":false,"_cnpm_publish_time":1497779630908,"_cnpmcore_publish_time":"2021-12-16T11:04:48.990Z"},"3.1.0":{"name":"rehype-parse","version":"3.1.0","description":"HTML parser for rehype","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse"],"homepage":"https://github.com/wooorm/rehype","repository":{"type":"git","url":"https://github.com/wooorm/rehype/tree/master/packages/rehype-parse"},"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"],"dependencies":{"hast-util-from-parse5":"^1.0.0","parse5":"^2.1.5","xtend":"^4.0.1"},"xo":false,"_id":"rehype-parse@3.1.0","scripts":{},"_shasum":"7f5227a597a3f39fc4b938646161539c444ee728","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"7f5227a597a3f39fc4b938646161539c444ee728","size":1727,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-3.1.0.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-3.1.0.tgz"},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/rehype-parse-3.1.0.tgz_1488716276620_0.9933400289155543"},"directories":{},"publish_time":1488716277283,"_hasShrinkwrap":false,"_cnpm_publish_time":1488716277283,"_cnpmcore_publish_time":"2021-12-16T11:04:49.201Z"},"3.0.0":{"name":"rehype-parse","version":"3.0.0","description":"HTML parser for rehype","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse"],"homepage":"https://github.com/wooorm/rehype","repository":{"type":"git","url":"https://github.com/wooorm/rehype/tree/master/packages/rehype-parse"},"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"],"dependencies":{"hast-util-from-parse5":"^1.0.0","parse5":"^2.1.5","xtend":"^4.0.1"},"xo":false,"_id":"rehype-parse@3.0.0","scripts":{},"_shasum":"d13c84176b53bf7a479764d99170c8f1d5cee2f2","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"d13c84176b53bf7a479764d99170c8f1d5cee2f2","size":1707,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-3.0.0.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-3.0.0.tgz"},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/rehype-parse-3.0.0.tgz_1487884404370_0.5340421635191888"},"directories":{},"publish_time":1487884404971,"_hasShrinkwrap":false,"_cnpm_publish_time":1487884404971,"_cnpmcore_publish_time":"2021-12-16T11:04:49.515Z"},"2.0.1":{"name":"rehype-parse","version":"2.0.1","description":"HTML parser for rehype","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse"],"homepage":"https://github.com/wooorm/rehype","repository":{"type":"git","url":"https://github.com/wooorm/rehype/tree/master/packages/rehype-parse"},"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","lib"],"dependencies":{"hast-util-from-parse5":"^1.0.0","parse5":"^2.1.5"},"_id":"rehype-parse@2.0.1","scripts":{},"_shasum":"12fd08eec6c8dde00d10a0243b59af623e67c5bf","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.3.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"12fd08eec6c8dde00d10a0243b59af623e67c5bf","size":1940,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-2.0.1.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-2.0.1.tgz"},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/rehype-parse-2.0.1.tgz_1474131251698_0.5655618186574429"},"directories":{},"publish_time":1474131253571,"_hasShrinkwrap":false,"_cnpm_publish_time":1474131253571,"_cnpmcore_publish_time":"2021-12-16T11:04:49.798Z"},"2.0.0":{"name":"rehype-parse","version":"2.0.0","description":"HTML parser for rehype","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse"],"homepage":"https://github.com/wooorm/rehype","repository":{"type":"git","url":"https://github.com/wooorm/rehype/tree/master/packages/rehype-parse"},"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","lib"],"dependencies":{"hast-util-from-parse5":"^1.0.0","parse5":"^2.1.5"},"_id":"rehype-parse@2.0.0","scripts":{},"_shasum":"53d6c4b746d1c730c0ff23c9aa7186878bf6ac8c","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"53d6c4b746d1c730c0ff23c9aa7186878bf6ac8c","size":1937,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-2.0.0.tgz"},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rehype-parse-2.0.0.tgz_1469543890157_0.5627765378449112"},"directories":{},"publish_time":1469543891892,"_hasShrinkwrap":false,"_cnpm_publish_time":1469543891892,"_cnpmcore_publish_time":"2021-12-16T11:04:50.023Z"},"1.0.0":{"name":"rehype-parse","version":"1.0.0","description":"HTML parser for rehype","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse"],"homepage":"https://github.com/wooorm/rehype","repository":{"type":"git","url":"https://github.com/wooorm/rehype/tree/master/packages/rehype-parse"},"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","lib"],"dependencies":{"bail":"^1.0.0","hastscript":"^3.0.0","html-void-elements":"^1.0.0","htmlparser2":"^3.9.1","property-information":"^3.0.0","web-namespaces":"^1.0.0"},"_id":"rehype-parse@1.0.0","scripts":{},"_shasum":"fb3dd6df4cd2e0e7850844511236af89e2d5beca","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.1","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"fb3dd6df4cd2e0e7850844511236af89e2d5beca","size":6526,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-1.0.0.tgz"},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rehype-parse-1.0.0.tgz_1466339551286_0.4948937422595918"},"directories":{},"publish_time":1466339553534,"_hasShrinkwrap":false,"_cnpm_publish_time":1466339553534,"_cnpmcore_publish_time":"2021-12-16T11:04:50.210Z"},"0.0.0":{"name":"rehype-parse","version":"0.0.0","description":"HTML parser for rehype","license":"MIT","keywords":["html","abstract","syntax","tree","ast","parse"],"homepage":"https://github.com/wooorm/rehype","repository":{"type":"git","url":"https://github.com/wooorm/rehype/tree/master/packages/rehype-parse"},"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","lib"],"dependencies":{"bail":"^1.0.0","hastscript":"^3.0.0","html-void-elements":"^1.0.0","htmlparser2":"^3.9.1","property-information":"^3.0.0","web-namespaces":"^1.0.0"},"_id":"rehype-parse@0.0.0","scripts":{},"_shasum":"b9c377f7fac18eec6d25733d0c7228201fe24055","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"b9c377f7fac18eec6d25733d0c7228201fe24055","size":6526,"noattachment":false,"key":"/rehype-parse/-/rehype-parse-0.0.0.tgz","tarball":"http://name.csiicloud.com:7001/rehype-parse/download/rehype-parse-0.0.0.tgz"},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/rehype-parse-0.0.0.tgz_1466338219655_0.5556100658141077"},"directories":{},"publish_time":1466338221993,"_hasShrinkwrap":false,"_cnpm_publish_time":1466338221993,"_cnpmcore_publish_time":"2021-12-16T11:04:50.416Z"}},"readme":"# rehype-parse\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[**rehype**][rehype] plugin to parse HTML.\n[Parser][] for [**unified**][unified].\nParses HTML to [**hast**][hast] syntax trees.\nUsed in the [**rehype** processor][processor] but can be used on its own as\nwell.\n\nIf you’re in a browser, trust the content, and value a smaller bundle size, use\n[`rehype-dom-parse`][rehype-dom-parse].\n\n## Sponsors\n\nSupport this effort and give back by sponsoring on [OpenCollective][collective]!\n\n<!--lint ignore no-html-->\n\n<table>\n<tr valign=\"middle\">\n<td width=\"20%\" align=\"center\" 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<td width=\"20%\" align=\"center\" 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\" 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.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%\" 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://boosthub.io\">Boost Hub</a><br><br>\n  <a href=\"https://boosthub.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://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</tr>\n<tr valign=\"middle\">\n<td width=\"100%\" align=\"center\" colspan=\"10\">\n  <br>\n  <a href=\"https://opencollective.com/unified\"><strong>You?</strong></a>\n  <br><br>\n</td>\n</tr>\n</table>\n\n## Install\n\nThis package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c):\nNode 12+ is needed to use it and it must be `import`ed instead of `require`d.\n\n[npm][]:\n\n```sh\nnpm install rehype-parse\n```\n\n## Use\n\nThis example shows how we can parse HTML with this module and configure it to\nemit parse errors except for duplicate attributes.\nThen we transform HTML to Markdown with [`rehype-remark`][rehype-remark] and\nfinally serialize that Markdown with [`remark-stringify`][remark-stringify].\n\nSay we have the following file, `example.html`, with a few errors:\n\n```html\n<!doctypehtml>\n<title class=\"a\" class=\"b\">Hello…</title>\n<h1/>World!</h1>\n```\n\n…and our script, `example.js`, looks as follows:\n\n```js\nimport {readSync} from 'to-vfile'\nimport {reporter} from 'vfile-reporter'\nimport {unified} from 'unified'\nimport rehypeParse from 'rehype-parse'\nimport rehypeRemark from 'rehype-remark'\nimport remarkStringify from 'remark-stringify'\n\nconst file = readSync('example.html')\n\nunified()\n  .use(rehypeParse, {emitParseErrors: true, duplicateAttribute: false})\n  .use(rehypeRemark)\n  .use(remarkStringify)\n  .process(file)\n  .then((file) => {\n    console.error(reporter(file))\n    console.log(String(file))\n  })\n```\n\nNow, running `node example` yields:\n\n```txt\nexample.html\n  1:10-1:10  warning  Missing whitespace before doctype name                      missing-whitespace-before-doctype-name                 parse-error\n    3:1-3:6  warning  Unexpected trailing slash on start tag of non-void element  non-void-html-element-start-tag-with-trailing-solidus  parse-error\n\n⚠ 2 warnings\n```\n\n```markdown\n# World!\n```\n\n## API\n\nThis package exports no identifiers.\nThe default export is `rehypeParse`.\n\n### `unified().use(rehypeParse[, options])`\n\nConfigure `processor` to parse HTML and create a [**hast**][hast] syntax tree.\n\n##### `options`\n\n###### `options.fragment`\n\nSpecify whether to parse a fragment (`boolean`, default: `false`), instead of a\ncomplete document.\nIn document mode, unopened `html`, `head`, and `body` elements are opened in\njust the right places.\n\n###### `options.space`\n\n> ⚠️ rehype is not an XML parser.\n> It support SVG as embedded in HTML, but not the features available in the rest\n> of XML/SVG.\n> Passing SVG files could strip useful information, but fragments of modern SVG\n> should be fine.\n\nWhich space the document is in (`'svg'` or `'html'`, default: `'html'`).\n\nIf an `svg` element is found in the HTML space, `parse` automatically\nswitches to the SVG space when [**entering**][enter] the element, and switches\nback when [**exiting**][exit].\n\n**Note**: make sure to set `fragment: true` if `space: 'svg'`.\n\n###### `options.emitParseErrors`\n\n> ⚠️ Parse errors are currently being added to HTML.\n> Not all errors emitted by parse5 (or rehype-parse) are specced yet.\n> Some documentation may still be missing.\n\nEmit parse errors while parsing on the [vfile][] (`boolean`, default: `false`).\n\nSetting this to `true` starts emitting [HTML parse errors][parse-errors].\n\nSpecific rules can be turned off by setting them to `false` (or `0`).\nThe default, when `emitParseErrors: true`, is `true` (or `1`), and means that\nrules emit as warnings.\nRules can also be configured with `2`, to turn them into fatal errors.\n\nThe specific parse errors that are currently supported are detailed below:\n\n<!-- parse-error start -->\n\n*   `abandonedHeadElementChild` — unexpected metadata element after head ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/abandoned-head-element-child/index.html))\n*   [`abruptClosingOfEmptyComment`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-abrupt-closing-of-empty-comment) — unexpected abruptly closed empty comment ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/abrupt-closing-of-empty-comment/index.html))\n*   [`abruptDoctypePublicIdentifier`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-abrupt-doctype-public-identifier) — unexpected abruptly closed public identifier ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/abrupt-doctype-public-identifier/index.html))\n*   [`abruptDoctypeSystemIdentifier`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-abrupt-doctype-system-identifier) — unexpected abruptly closed system identifier ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/abrupt-doctype-system-identifier/index.html))\n*   [`absenceOfDigitsInNumericCharacterReference`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-absence-of-digits-in-numeric-character-reference) — unexpected non-digit at start of numeric character reference ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/absence-of-digits-in-numeric-character-reference/index.html))\n*   [`cdataInHtmlContent`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-cdata-in-html-content) — unexpected CDATA section in HTML ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/cdata-in-html-content/index.html))\n*   [`characterReferenceOutsideUnicodeRange`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-character-reference-outside-unicode-range) — unexpected too big numeric character reference ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/character-reference-outside-unicode-range/index.html))\n*   `closingOfElementWithOpenChildElements` — unexpected closing tag with open child elements ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/closing-of-element-with-open-child-elements/index.html))\n*   [`controlCharacterInInputStream`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-control-character-in-input-stream) — unexpected control character ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/control-character-in-input-stream/index.html))\n*   [`controlCharacterReference`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-control-character-reference) — unexpected control character reference ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/control-character-reference/index.html))\n*   `disallowedContentInNoscriptInHead` — disallowed content inside `<noscript>` in `<head>` ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/disallowed-content-in-noscript-in-head/index.html))\n*   [`duplicateAttribute`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-duplicate-attribute) — unexpected duplicate attribute ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/duplicate-attribute/index.html))\n*   [`endTagWithAttributes`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-end-tag-with-attributes) — unexpected attribute on closing tag ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/end-tag-with-attributes/index.html))\n*   [`endTagWithTrailingSolidus`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-end-tag-with-trailing-solidus) — unexpected slash at end of closing tag ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/end-tag-with-trailing-solidus/index.html))\n*   `endTagWithoutMatchingOpenElement` — unexpected unopened end tag ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/end-tag-without-matching-open-element/index.html))\n*   [`eofBeforeTagName`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-eof-before-tag-name) — unexpected end of file ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/eof-before-tag-name/index.html))\n*   [`eofInCdata`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-eof-in-cdata) — unexpected end of file in CDATA ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/eof-in-cdata/index.html))\n*   [`eofInComment`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-eof-in-comment) — unexpected end of file in comment ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/eof-in-comment/index.html))\n*   [`eofInDoctype`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-eof-in-doctype) — unexpected end of file in doctype ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/eof-in-doctype/index.html))\n*   `eofInElementThatCanContainOnlyText` — unexpected end of file in element that can only contain text ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/eof-in-element-that-can-contain-only-text/index.html))\n*   [`eofInScriptHtmlCommentLikeText`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-eof-in-script-html-comment-like-text) — unexpected end of file in comment inside script ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/eof-in-script-html-comment-like-text/index.html))\n*   [`eofInTag`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-eof-in-tag) — unexpected end of file in tag ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/eof-in-tag/index.html))\n*   [`incorrectlyClosedComment`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-incorrectly-closed-comment) — incorrectly closed comment ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/incorrectly-closed-comment/index.html))\n*   [`incorrectlyOpenedComment`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-incorrectly-opened-comment) — incorrectly opened comment ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/incorrectly-opened-comment/index.html))\n*   [`invalidCharacterSequenceAfterDoctypeName`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-invalid-character-sequence-after-doctype-name) — invalid sequence after doctype name ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/invalid-character-sequence-after-doctype-name/index.html))\n*   [`invalidFirstCharacterOfTagName`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-invalid-first-character-of-tag-name) — invalid first character in tag name ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/invalid-first-character-of-tag-name/index.html))\n*   `misplacedDoctype` — misplaced doctype ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/misplaced-doctype/index.html))\n*   `misplacedStartTagForHeadElement` — misplaced `<head>` start tag ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/misplaced-start-tag-for-head-element/index.html))\n*   [`missingAttributeValue`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-missing-attribute-value) — missing attribute value ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/missing-attribute-value/index.html))\n*   `missingDoctype` — missing doctype before other content ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/missing-doctype/index.html))\n*   [`missingDoctypeName`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-missing-doctype-name) — missing doctype name ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/missing-doctype-name/index.html))\n*   [`missingDoctypePublicIdentifier`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-missing-doctype-public-identifier) — missing public identifier in doctype ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/missing-doctype-public-identifier/index.html))\n*   [`missingDoctypeSystemIdentifier`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-missing-doctype-system-identifier) — missing system identifier in doctype ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/missing-doctype-system-identifier/index.html))\n*   [`missingEndTagName`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-missing-end-tag-name) — missing name in end tag ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/missing-end-tag-name/index.html))\n*   [`missingQuoteBeforeDoctypePublicIdentifier`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-missing-quote-before-doctype-public-identifier) — missing quote before public identifier in doctype ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/missing-quote-before-doctype-public-identifier/index.html))\n*   [`missingQuoteBeforeDoctypeSystemIdentifier`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-missing-quote-before-doctype-system-identifier) — missing quote before system identifier in doctype ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/missing-quote-before-doctype-system-identifier/index.html))\n*   [`missingSemicolonAfterCharacterReference`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-missing-semicolon-after-character-reference) — missing semicolon after character reference ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/missing-semicolon-after-character-reference/index.html))\n*   [`missingWhitespaceAfterDoctypePublicKeyword`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-missing-whitespace-after-doctype-public-keyword) — missing whitespace after public identifier in doctype ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/missing-whitespace-after-doctype-public-keyword/index.html))\n*   [`missingWhitespaceAfterDoctypeSystemKeyword`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-missing-whitespace-after-doctype-system-keyword) — missing whitespace after system identifier in doctype ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/missing-whitespace-after-doctype-system-keyword/index.html))\n*   [`missingWhitespaceBeforeDoctypeName`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-missing-whitespace-before-doctype-name) — missing whitespace before doctype name ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/missing-whitespace-before-doctype-name/index.html))\n*   [`missingWhitespaceBetweenAttributes`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-missing-whitespace-between-attributes) — missing whitespace between attributes ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/missing-whitespace-between-attributes/index.html))\n*   [`missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-missing-whitespace-between-doctype-public-and-system-identifiers) — missing whitespace between public and system identifiers in doctype ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/missing-whitespace-between-doctype-public-and-system-identifiers/index.html))\n*   [`nestedComment`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-nested-comment) — unexpected nested comment ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/nested-comment/index.html))\n*   `nestedNoscriptInHead` — unexpected nested `<noscript>` in `<head>` ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/nested-noscript-in-head/index.html))\n*   `nonConformingDoctype` — unexpected non-conforming doctype declaration ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/non-conforming-doctype/index.html))\n*   [`nonVoidHtmlElementStartTagWithTrailingSolidus`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-non-void-html-element-start-tag-with-trailing-solidus) — unexpected trailing slash on start tag of non-void element ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/non-void-html-element-start-tag-with-trailing-solidus/index.html))\n*   [`noncharacterCharacterReference`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-noncharacter-character-reference) — unexpected noncharacter code point referenced by character reference ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/noncharacter-character-reference/index.html))\n*   [`noncharacterInInputStream`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-noncharacter-in-input-stream) — unexpected noncharacter character ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/noncharacter-in-input-stream/index.html))\n*   [`nullCharacterReference`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-null-character-reference) — unexpected NULL character referenced by character reference ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/null-character-reference/index.html))\n*   `openElementsLeftAfterEof` — unexpected end of file ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/open-elements-left-after-eof/index.html))\n*   [`surrogateCharacterReference`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-surrogate-character-reference) — unexpected surrogate character referenced by character reference ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/surrogate-character-reference/index.html))\n*   [`surrogateInInputStream`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-surrogate-in-input-stream) — unexpected surrogate character\n*   [`unexpectedCharacterAfterDoctypeSystemIdentifier`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-unexpected-character-after-doctype-system-identifier) — invalid character after system identifier in doctype ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/unexpected-character-after-doctype-system-identifier/index.html))\n*   [`unexpectedCharacterInAttributeName`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-unexpected-character-in-attribute-name) — unexpected character in attribute name ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/unexpected-character-in-attribute-name/index.html))\n*   [`unexpectedCharacterInUnquotedAttributeValue`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-unexpected-character-in-unquoted-attribute-value) — unexpected character in unquoted attribute value ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/unexpected-character-in-unquoted-attribute-value/index.html))\n*   [`unexpectedEqualsSignBeforeAttributeName`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-unexpected-equals-sign-before-attribute-name) — unexpected equals sign before attribute name ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/unexpected-equals-sign-before-attribute-name/index.html))\n*   [`unexpectedNullCharacter`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-unexpected-null-character) — unexpected NULL character ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/unexpected-null-character/index.html))\n*   [`unexpectedQuestionMarkInsteadOfTagName`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-unexpected-question-mark-instead-of-tag-name) — unexpected question mark instead of tag name ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/unexpected-question-mark-instead-of-tag-name/index.html))\n*   [`unexpectedSolidusInTag`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-unexpected-solidus-in-tag) — unexpected slash in tag ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/unexpected-solidus-in-tag/index.html))\n*   [`unknownNamedCharacterReference`](https://html.spec.whatwg.org/multipage/parsing.html#parse-error-unknown-named-character-reference) — unexpected unknown named character reference ([example](https://github.com/rehypejs/rehype/blob/main/test/parse-error/unknown-named-character-reference/index.html))\n\n<!-- parse-error end -->\n\n###### `options.verbose`\n\nPatch extra positional information (`boolean`, default: `false`).\nIf specified, the following element:\n\n```html\n<img src=\"#\" alt>\n```\n\n…has the following `data`:\n\n```js\n{ position:\n   { opening:\n      { start: { line: 1, column: 1, offset: 0 },\n        end: { line: 1, column: 18, offset: 17 } },\n     closing: null,\n     properties:\n      { src:\n         { start: { line: 1, column: 6, offset: 5 },\n           end: { line: 1, column: 13, offset: 12 } },\n        alt:\n         { start: { line: 1, column: 14, offset: 13 },\n           end: { line: 1, column: 17, offset: 16 } } } } }\n```\n\n### `parse.Parser`\n\nAccess to the [parser][], if you need it.\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`][sanitize] to make the tree safe.\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`rehypejs/.github`][health] for ways\nto get started.\nSee [`support.md`][support] for ways to get help.\nIdeas for new plugins and tools can be posted in [`rehypejs/ideas`][ideas].\n\nA curated list of awesome rehype resources can be found in [**awesome\nrehype**][awesome].\n\nThis project has a [code of conduct][coc].\nBy interacting with this repository, organization, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- 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-parse.svg\n\n[downloads]: https://www.npmjs.com/package/rehype-parse\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/rehype-parse.svg\n\n[size]: https://bundlephobia.com/result?p=rehype-parse\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[contributing]: https://github.com/rehypejs/.github/blob/HEAD/contributing.md\n\n[support]: https://github.com/rehypejs/.github/blob/HEAD/support.md\n\n[coc]: https://github.com/rehypejs/.github/blob/HEAD/code-of-conduct.md\n\n[ideas]: https://github.com/rehypejs/ideas\n\n[awesome]: https://github.com/rehypejs/awesome-rehype\n\n[license]: https://github.com/rehypejs/rehype/blob/main/license\n\n[author]: https://wooorm.com\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[rehype-remark]: https://github.com/rehypejs/rehype-remark\n\n[remark-stringify]: https://github.com/remarkjs/remark/tree/HEAD/packages/remark-stringify\n\n[unified]: https://github.com/unifiedjs/unified\n\n[vfile]: https://github.com/vfile/vfile\n\n[parse-errors]: https://html.spec.whatwg.org/multipage/parsing.html#parse-errors\n\n[rehype]: https://github.com/rehypejs/rehype\n\n[processor]: https://github.com/rehypejs/rehype/tree/main/packages/rehype\n\n[hast]: https://github.com/syntax-tree/hast\n\n[rehype-dom-parse]: https://github.com/rehypejs/rehype-dom/tree/HEAD/packages/rehype-dom-parse\n\n[parser]: https://github.com/unifiedjs/unified#processorparser\n\n[enter]: https://github.com/syntax-tree/unist#enter\n\n[exit]: https://github.com/syntax-tree/unist#exit\n\n[sanitize]: https://github.com/rehypejs/rehype-sanitize\n\n[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting\n","_attachments":{},"homepage":"https://github.com/rehypejs/rehype","bugs":{"url":"https://github.com/rehypejs/rehype/issues"},"license":"MIT"}