{"versions":{"4.0.1":{"name":"hast-util-from-dom","version":"4.0.1","description":"","license":"ISC","keywords":["unist","hast","hast-util","util","utility","rehype","dom","html"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-from-dom.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-from-dom/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},"contributors":[{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"index.js","sideEffects":false,"type":"module","types":"index.d.ts","dependencies":{"hastscript":"^7.0.0","web-namespaces":"^2.0.0"},"devDependencies":{"@types/glob":"^7.0.0","@types/jsdom":"^16.0.0","@types/tape":"^4.0.0","c8":"^7.0.0","glob":"^7.0.0","jsdom":"^17.0.0","prettier":"^2.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.44.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{lib/**,test/**,}*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test/index.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"b25d66b99dee61f25db37b69516047c29f1a998e","homepage":"https://github.com/syntax-tree/hast-util-from-dom#readme","_id":"hast-util-from-dom@4.0.1","_nodeVersion":"16.6.1","_npmVersion":"7.20.6","dist":{"shasum":"07840f288a24a38148428699454859d3e4064607","size":4342,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-from-dom/-/hast-util-from-dom-4.0.1.tgz"},"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"keith@mcknig.ht"},{"name":"anonymous","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-from-dom_4.0.1_1630073571557_0.26421401939811395"},"_hasShrinkwrap":false,"publish_time":1630073571716,"_cnpm_publish_time":1630073571716},"4.0.0":{"name":"hast-util-from-dom","version":"4.0.0","description":"","license":"ISC","keywords":["unist","hast","hast-util","util","utility","rehype","dom","html"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-from-dom.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-from-dom/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},"contributors":[{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"index.js","module":"dist/hast-util-from-dom.mjs","sideEffects":false,"type":"module","types":"index.d.ts","dependencies":{"hastscript":"^7.0.0","web-namespaces":"^2.0.0"},"devDependencies":{"@types/jsdom":"^16.0.0","@types/tape":"^4.0.0","c8":"^7.0.0","glob":"^7.0.0","jsdom":"^16.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{lib/**,test/**,}*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test/index.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"32c426053e63bf75660d2c92a19af01609def48b","homepage":"https://github.com/syntax-tree/hast-util-from-dom#readme","_id":"hast-util-from-dom@4.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.11.1","dist":{"shasum":"0fed38f616aab20ba2f4995844ed98e50f17aee1","size":4364,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-from-dom/-/hast-util-from-dom-4.0.0.tgz"},"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"keith@mcknig.ht"},{"name":"anonymous","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-from-dom_4.0.0_1619974476509_0.23447967073350062"},"_hasShrinkwrap":false,"publish_time":1619974476650,"_cnpm_publish_time":1619974476650},"3.0.0":{"name":"hast-util-from-dom","version":"3.0.0","description":"","license":"ISC","keywords":["unist","hast","hast-util","util","utility","rehype","dom","html"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-from-dom.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-from-dom/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},"contributors":[{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"dist/hast-util-from-dom.js","module":"dist/hast-util-from-dom.mjs","dependencies":{"hastscript":"^6.0.0","web-namespaces":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@rollup/plugin-babel":"^5.0.0","babel-eslint":"^10.0.0","babel-jest":"^26.0.0","eslint":"^7.0.0","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-import":"^2.0.0","glob":"^7.0.0","jest-cli":"^26.0.0","remark-cli":"^8.0.0","remark-preset-wooorm":"^7.0.0","rollup":"^2.0.0"},"scripts":{"build":"rollup -c","lint":"remark . -qfo && eslint . --fix","test":"jest","test:dev":"jest --watchAll"},"jest":{"collectCoverage":true,"coveragePathIgnorePatterns":["/src/utils.js"],"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"321c9056dd8ef2859f87b4eb9a070c52a8ed085b","homepage":"https://github.com/syntax-tree/hast-util-from-dom#readme","_id":"hast-util-from-dom@3.0.0","_nodeVersion":"14.7.0","_npmVersion":"6.14.8","dist":{"shasum":"e0ea87fafaf3ec64650fc9404ab1538238f32cb5","size":3911,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-from-dom/-/hast-util-from-dom-3.0.0.tgz"},"maintainers":[{"name":"anonymous","email":"keith@mcknig.ht"},{"name":"anonymous","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-from-dom_3.0.0_1598022208876_0.08548265387331977"},"_hasShrinkwrap":false,"publish_time":1598022209037,"_cnpm_publish_time":1598022209037},"2.0.5":{"name":"hast-util-from-dom","version":"2.0.5","description":"","license":"ISC","keywords":["unist","hast","hast-util","util","utility","rehype","dom","html"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-from-dom.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-from-dom/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},"contributors":[{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"dist/hast-util-from-dom.js","module":"dist/hast-util-from-dom.mjs","dependencies":{"hastscript":"^5.0.0","web-namespaces":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","babel-eslint":"^10.0.0","babel-jest":"^25.0.0","eslint":"^6.0.0","eslint-config-airbnb-base":"^13.0.0","eslint-plugin-import":"^2.0.0","glob":"^7.0.0","jest-cli":"^25.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","rollup":"^1.0.0","rollup-plugin-babel":"^4.0.0"},"scripts":{"build":"rollup -c","lint":"remark . -qfo && eslint .","test":"jest","test:dev":"jest --watchAll"},"jest":{"collectCoverage":true,"coveragePathIgnorePatterns":["/src/utils.js"],"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"b3122666f95370063077d2d503c15562843c3643","homepage":"https://github.com/syntax-tree/hast-util-from-dom#readme","_id":"hast-util-from-dom@2.0.5","_nodeVersion":"13.10.1","_npmVersion":"6.14.2","dist":{"shasum":"410ce6e8ffd7cc06c5d651a46cb2204c97a36820","size":3856,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-from-dom/-/hast-util-from-dom-2.0.5.tgz"},"maintainers":[{"name":"anonymous","email":"keith@mcknig.ht"},{"name":"anonymous","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-from-dom_2.0.5_1584260069168_0.46721202089292424"},"_hasShrinkwrap":false,"publish_time":1584260069269,"_cnpm_publish_time":1584260069269},"2.0.4":{"name":"hast-util-from-dom","version":"2.0.4","description":"","license":"ISC","keywords":["unist","hast","hast-util","util","utility","rehype","dom","html"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-from-dom.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-from-dom/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},"contributors":[{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"dist/hast-util-from-dom.js","module":"dist/hast-util-from-dom.mjs","dependencies":{"hastscript":"^5.0.0","web-namespaces":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","babel-eslint":"^10.0.0","babel-jest":"^25.0.0","eslint":"^6.0.0","eslint-config-airbnb-base":"^13.0.0","eslint-plugin-import":"^2.0.0","glob":"^7.0.0","jest-cli":"^25.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","rollup":"^1.0.0","rollup-plugin-babel":"^4.0.0"},"scripts":{"build":"rollup -c","lint":"remark . -qfo && eslint .","test":"jest","test:dev":"jest --watchAll"},"jest":{"collectCoverage":true,"coveragePathIgnorePatterns":["/src/utils.js"],"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"8125075c9a9b02ab157feaf0c63de90b69ca5c94","homepage":"https://github.com/syntax-tree/hast-util-from-dom#readme","_id":"hast-util-from-dom@2.0.4","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"shasum":"bb3384d6b67d8d74134e9fb4c4eb639a34f719b7","size":3856,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-from-dom/-/hast-util-from-dom-2.0.4.tgz"},"maintainers":[{"name":"anonymous","email":"keith@mcknig.ht"},{"name":"anonymous","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-from-dom_2.0.4_1583310784528_0.3626542950236449"},"_hasShrinkwrap":false,"publish_time":1583310784703,"_cnpm_publish_time":1583310784703},"2.0.3":{"name":"hast-util-from-dom","version":"2.0.3","description":"","license":"ISC","keywords":["unist","hast","hast-util","util","utility","rehype","dom","html"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-from-dom.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-from-dom/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},"contributors":[{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"dist/hast-util-from-dom.js","module":"dist/hast-util-from-dom.mjs","dependencies":{"hastscript":"^5.0.0","web-namespaces":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","babel-eslint":"^10.0.0","babel-jest":"^25.0.0","eslint":"^6.0.0","eslint-config-airbnb-base":"^13.0.0","eslint-plugin-import":"^2.0.0","glob":"^7.0.0","jest-cli":"^25.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","rollup":"^1.0.0","rollup-plugin-babel":"^4.0.0"},"scripts":{"build":"rollup -c","lint":"remark . -qfo && eslint .","test":"jest","test:dev":"jest --watchAll"},"jest":{"collectCoverage":true,"coveragePathIgnorePatterns":["/src/utils.js"],"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"f068586a7c6f61aeb2eb1df5e1fd3f30b3c6d296","homepage":"https://github.com/syntax-tree/hast-util-from-dom#readme","_id":"hast-util-from-dom@2.0.3","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"shasum":"096d0065f5fe181045e14cea1aaccae9c4f93a36","size":2980,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-from-dom/-/hast-util-from-dom-2.0.3.tgz"},"maintainers":[{"name":"anonymous","email":"keith@mcknig.ht"},{"name":"anonymous","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-from-dom_2.0.3_1582886601393_0.913689556183255"},"_hasShrinkwrap":false,"publish_time":1582886601521,"_cnpm_publish_time":1582886601521},"2.0.2":{"name":"hast-util-from-dom","version":"2.0.2","description":"","license":"ISC","keywords":["unist","hast","hast-util","util","utility","rehype","dom","html"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-from-dom.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-from-dom/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},"contributors":[{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"dist/hast-util-from-dom.js","module":"dist/hast-util-from-dom.mjs","dependencies":{"hastscript":"^5.0.0","web-namespaces":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","babel-eslint":"^10.0.0","babel-jest":"^25.0.0","eslint":"^6.0.0","eslint-config-airbnb-base":"^13.0.0","eslint-plugin-import":"^2.0.0","glob":"^7.0.0","jest-cli":"^25.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","rollup":"^1.0.0","rollup-plugin-babel":"^4.0.0"},"scripts":{"build":"rollup -c","lint":"remark . -qfo && eslint .","test":"jest","test:dev":"jest --watchAll"},"jest":{"collectCoverage":true,"coveragePathIgnorePatterns":["/src/utils.js"],"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"99f4685750d9339ba12ff0d18f31a4edbe1a4253","homepage":"https://github.com/syntax-tree/hast-util-from-dom#readme","_id":"hast-util-from-dom@2.0.2","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"shasum":"c54f5e9061979f2cbae1d3a54557b15160519dfb","size":2980,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-from-dom/-/hast-util-from-dom-2.0.2.tgz"},"maintainers":[{"name":"anonymous","email":"keith@mcknig.ht"},{"name":"anonymous","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-from-dom_2.0.2_1582885119286_0.11677548841307273"},"_hasShrinkwrap":false,"publish_time":1582885119440,"_cnpm_publish_time":1582885119440},"2.0.1":{"name":"hast-util-from-dom","version":"2.0.1","description":"","license":"ISC","keywords":["unist","hast","util","utility","rehype","dom","html"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-from-dom.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-from-dom/issues"},"author":{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},"contributors":[{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"dist/hast-util-from-dom.js","module":"dist/hast-util-from-dom.mjs","dependencies":{"hastscript":"^5.0.0","web-namespaces":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","babel-eslint":"^10.0.0","babel-jest":"^24.0.0","eslint":"^5.0.0","eslint-config-airbnb-base":"^13.0.0","eslint-plugin-import":"^2.0.0","glob":"^7.0.0","jest-cli":"^24.0.0","remark-cli":"^6.0.1","remark-preset-wooorm":"^5.0.0","rollup":"^1.0.0","rollup-plugin-babel":"^4.0.1"},"scripts":{"build":"rollup -c","lint":"remark . -qfo && eslint .","test":"jest","test:dev":"jest --watchAll"},"jest":{"collectCoverage":true,"coveragePathIgnorePatterns":["/src/utils.js"],"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"9b9cfeccd687da147385ed6262f5e9214e69a2fe","homepage":"https://github.com/syntax-tree/hast-util-from-dom#readme","_id":"hast-util-from-dom@2.0.1","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"shasum":"82e248179997929c036bcf4e395f5bd3916cdeec","size":3699,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-from-dom/-/hast-util-from-dom-2.0.1.tgz"},"maintainers":[{"name":"anonymous","email":"keith@mcknig.ht"},{"name":"anonymous","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-from-dom_2.0.1_1559551194416_0.30024118580552006"},"_hasShrinkwrap":false,"publish_time":1559551194507,"_cnpm_publish_time":1559551194507},"2.0.0":{"name":"hast-util-from-dom","version":"2.0.0","description":"","license":"ISC","keywords":["unist","hast","util","utility","rehype","dom","html"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-from-dom.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-from-dom/issues"},"author":{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},"contributors":[{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"dist/hast-util-from-dom.js","module":"dist/hast-util-from-dom.mjs","dependencies":{"hastscript":"^5.0.0","web-namespaces":"^1.0.0"},"devDependencies":{"@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","babel-eslint":"^10.0.0","babel-jest":"^24.0.0","eslint":"^5.0.0","eslint-config-airbnb-base":"^13.0.0","eslint-plugin-import":"^2.0.0","glob":"^7.0.0","jest-cli":"^24.0.0","remark-cli":"^6.0.1","remark-preset-wooorm":"^5.0.0","rollup":"^1.0.0","rollup-plugin-babel":"^4.0.1"},"scripts":{"build":"rollup -c","lint":"remark . -qfo && eslint .","test":"jest","test:dev":"jest --watchAll"},"jest":{"collectCoverage":true,"coveragePathIgnorePatterns":["/src/utils.js"],"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"74e8e929bdeaaa94f5215750078b70a5d1911d5f","homepage":"https://github.com/syntax-tree/hast-util-from-dom#readme","_id":"hast-util-from-dom@2.0.0","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"shasum":"62208ee0372da84e858df4a951ab4f3474cda783","size":2835,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-from-dom/-/hast-util-from-dom-2.0.0.tgz"},"maintainers":[{"name":"anonymous","email":"keith@mcknig.ht"},{"name":"anonymous","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-from-dom_2.0.0_1559284758026_0.9912542865250626"},"_hasShrinkwrap":false,"publish_time":1559284758224,"_cnpm_publish_time":1559284758224},"1.0.1":{"name":"hast-util-from-dom","version":"1.0.1","description":"","main":"dist/hast-util-from-dom.js","module":"dist/hast-util-from-dom.mjs","repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-from-dom.git"},"author":{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},"license":"ISC","scripts":{"build":"rollup -c","lint":"eslint .","test":"jest","test:dev":"jest --watchAll"},"devDependencies":{"babel-core":"^6.26.3","babel-eslint":"^8.2.3","babel-jest":"^23.0.1","babel-preset-env":"^1.7.0","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-plugin-import":"^2.12.0","glob":"^7.1.2","jest-cli":"^23.1.0","rollup":"^0.59.4","rollup-plugin-babel":"^3.0.4"},"dependencies":{"hastscript":"^3.1.0"},"files":["dist"],"gitHead":"3b4d066f2e80060e1c750796f8a2209a3fe69efc","bugs":{"url":"https://github.com/syntax-tree/hast-util-from-dom/issues"},"homepage":"https://github.com/syntax-tree/hast-util-from-dom#readme","_id":"hast-util-from-dom@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"anonymous","email":"keith@mcknig.ht"},"dist":{"shasum":"3ee2eb31a045b442c45c28d5580e5d3513d5f00d","size":3118,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-from-dom/-/hast-util-from-dom-1.0.1.tgz"},"maintainers":[{"name":"anonymous","email":"keith@mcknig.ht"},{"name":"anonymous","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-from-dom_1.0.1_1530899227099_0.5141627432754678"},"_hasShrinkwrap":false,"publish_time":1530899227200,"_cnpm_publish_time":1530899227200,"contributors":[]},"1.0.0":{"name":"hast-util-from-dom","version":"1.0.0","description":"","main":"dist/hast-util-from-dom.js","module":"dist/hast-util-from-dom.mjs","repository":{"type":"git","url":"git+https://github.com/kmck/hast-util-from-dom.git"},"author":{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},"license":"ISC","scripts":{"build":"rollup -c","lint":"eslint .","test":"jest","test:dev":"jest --watchAll"},"devDependencies":{"babel-core":"^6.26.3","babel-eslint":"^8.2.3","babel-jest":"^23.0.1","babel-preset-env":"^1.7.0","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-plugin-import":"^2.12.0","glob":"^7.1.2","jest-cli":"^23.1.0","rollup":"^0.59.4"},"dependencies":{"hastscript":"^3.1.0"},"files":["dist"],"gitHead":"dd0aba6eff75f5b01b007b2188825954c206b51e","bugs":{"url":"https://github.com/kmck/hast-util-from-dom/issues"},"homepage":"https://github.com/kmck/hast-util-from-dom#readme","_id":"hast-util-from-dom@1.0.0","_shasum":"e609722389cba60bf0c77a681d949b01ae5ac465","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.1","_npmUser":{"name":"anonymous","email":"keith@mcknig.ht"},"dist":{"shasum":"e609722389cba60bf0c77a681d949b01ae5ac465","size":2961,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-from-dom/-/hast-util-from-dom-1.0.0.tgz"},"maintainers":[{"name":"anonymous","email":"keith@mcknig.ht"},{"name":"anonymous","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-from-dom_1.0.0_1528130545534_0.9624167669425827"},"_hasShrinkwrap":false,"publish_time":1528130545654,"_cnpm_publish_time":1528130545654,"contributors":[]},"1.0.0-beta.0":{"name":"hast-util-from-dom","version":"1.0.0-beta.0","description":"","main":"dist/hast-util-from-dom.cjs.js","module":"dist/hast-util-from-dom.esm.js","repository":{"type":"git","url":"https://github.com/kmck/hast-util-from/dom/issues"},"author":{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},"license":"ISC","scripts":{"build":"rollup -c","lint":"eslint .","jest":"jest","jest:dev":"jest --watchAll","test":"eslint . && jest"},"devDependencies":{"babel-core":"^6.26.3","babel-eslint":"^8.2.3","babel-jest":"^23.0.1","babel-preset-env":"^1.7.0","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-plugin-import":"^2.12.0","glob":"^7.1.2","jest-cli":"^23.1.0","jsdom":"^11.11.0","rollup":"^0.59.4"},"files":["dist"],"dependencies":{"hastscript":"^3.1.0"},"gitHead":"b42047906f33a7cfab0df29ba57ee2bfc0fa77f8","_id":"hast-util-from-dom@1.0.0-beta.0","_shasum":"1abd795b896daeeb5bb9285c54b9bbca89abe864","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.14.1","_npmUser":{"name":"anonymous","email":"keith@mcknig.ht"},"dist":{"shasum":"1abd795b896daeeb5bb9285c54b9bbca89abe864","size":2913,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-from-dom/-/hast-util-from-dom-1.0.0-beta.0.tgz"},"maintainers":[{"name":"anonymous","email":"keith@mcknig.ht"},{"name":"anonymous","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-from-dom_1.0.0-beta.0_1527714757615_0.7420325601063686"},"_hasShrinkwrap":false,"publish_time":1527714757704,"_cnpm_publish_time":1527714757704,"contributors":[]},"4.1.0":{"name":"hast-util-from-dom","version":"4.1.0","description":"hast utility to create a tree from the DOM","license":"ISC","keywords":["unist","hast","hast-util","util","utility","rehype","dom","html"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-from-dom.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-from-dom/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},"contributors":[{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"index.js","sideEffects":false,"type":"module","types":"index.d.ts","dependencies":{"hastscript":"^7.0.0","web-namespaces":"^2.0.0"},"devDependencies":{"@types/glob":"^7.0.0","@types/jsdom":"^16.0.0","@types/tape":"^4.0.0","c8":"^7.0.0","glob":"^7.0.0","jsdom":"^19.0.0","prettier":"^2.0.0","remark-cli":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.47.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{lib/**,test/**,}*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test/index.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"7cd2a7d0866416b7e4a6b008ddd08d81d28001d2","homepage":"https://github.com/syntax-tree/hast-util-from-dom#readme","_id":"hast-util-from-dom@4.1.0","_nodeVersion":"17.4.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-0EMIYQVIhRfiC1LVdTsvM4yTY0rM/v63wwoYmOYV02mIOASYeQrfQekG4Jhge2kOAMaNFbvppUma47rbeWWE5Q==","shasum":"8a09b3bb9c624371e3d5fae114678f663f928d06","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-from-dom/-/hast-util-from-dom-4.1.0.tgz","fileCount":7,"unpackedSize":13004,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh9UDTCRA9TVsSAnZWagAAYkIP/j5AqNjHE6vAuwKS5WM9\nyD7HYV6Ac3iXJ8eTKgqSgA20Y4hku8W9xqxSr0QBbjzWRccsPpZ0emv6do5Y\nNUisvyeKle3sbIR1ve9+5WreCUUsbKI6gAyEE2wvBUb9JChO6oxc+Xf/KeBR\nMydwwdya59UqM5nxqwnamI0+g9elDv+eiqYahm2e5t3bEzWNyRML/ksPdNFF\nicgcNQxadoG3uLZew1Q3g0twB+YcEZbMjeX+3Q6B5OVotY6KObB9WeFvLMl3\nzzHaWpP0SDO657v+E1vSb+/vhuQFuxvfCTQYjt7HArFRBlw75vRiNNQRT2As\npQLhXzFHmiG+hyxbWUtzhsGFGEtyE2xYYd47yBnDUtIjA+hgN/Shk/eAldBG\nnVe+CuwVoE+q8u9IylVRyDuJl2FdOUvpZohkz6/QNmRQhyla/RRnovLfDrxT\nB+fY6U8/w4MQ9ajxc867zP20WLP+USvzsMlIQW9LgjyhDCTlC3L1Yt7SZAeL\no2vm+hl7VSlK7f3CogVKavkPh1SyOzoBFMxRDqO/M2030hMPo+rxq4OXtnIQ\nnCbTLn8wz71+4V2edEV8rdNavFneqTDnmlI/W0AUElTS4P+gjbgRaa+PGaX+\nTmILrvBqkhlk4gK6ZF5LlD+O2+xiMNb5GPTkvMTCueefSQ+FayB21ySQYgt2\neP/E\r\n=wRVx\r\n-----END PGP SIGNATURE-----\r\n","size":4684},"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"tituswormer@gmail.com"},{"name":"anonymous","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-from-dom_4.1.0_1643462867187_0.5020381904813171"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-29T13:27:52.845Z"},"4.2.0":{"name":"hast-util-from-dom","version":"4.2.0","description":"hast utility to create a tree from the DOM","license":"ISC","keywords":["unist","hast","hast-util","util","utility","rehype","dom","html"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-from-dom.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-from-dom/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},"contributors":[{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"index.js","sideEffects":false,"type":"module","types":"index.d.ts","dependencies":{"hastscript":"^7.0.0","web-namespaces":"^2.0.0"},"devDependencies":{"@types/node":"^18.0.0","@types/jsdom":"^20.0.0","c8":"^7.0.0","jsdom":"^21.0.0","prettier":"^2.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.53.0"},"scripts":{"prepack":"npm run build && npm run format","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test/index.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"overrides":[{"files":"test/**/*.js","rules":{"no-await-in-loop":0}}]},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"3948fac70058a3e5e3af0d4d896f104c1b584bc2","homepage":"https://github.com/syntax-tree/hast-util-from-dom#readme","_id":"hast-util-from-dom@4.2.0","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-t1RJW/OpJbCAJQeKi3Qrj1cAOLA0+av/iPFori112+0X7R3wng+jxLA+kXec8K4szqPRGI8vPxbbpEYvvpwaeQ==","shasum":"25836ddecc3cc0849d32749c2a7aec03e94b59a7","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-from-dom/-/hast-util-from-dom-4.2.0.tgz","fileCount":7,"unpackedSize":16013,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZnQqDP+hatoIKc/S9PZdXoFcgrqwa1lsnh4DnSF18GAIgcP1WknPgnxDI7UcQy/MuCq5S29ncZ9GoK3EVJwnUKE0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjvDDKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmooTA/9H7l4jwBVHYlE0kZm0bYhc1Mo7I6SgdkUax04FTt23XWQxQv7\r\n+hiwAlRLmI8/mWeMsy47fatEh5fQmxX8RveD2N2R4N5wqliORDPcXNX0B4+Z\r\np4L+FVBXQsLqxyT0dLz6ohjmcOWs5AbzL/orS0X07ZzWYjuCZZh6y48zv1hj\r\n9Jjik0jIi6uWfD/VH/AJvDkeY49ZU/2i2KHpDNrRoIZ6O0Il205D21jDMPnc\r\n/WKAGTw6pNKJjTNuB8Eh8Ds+CemplL4UEo2c3xqXj6pFP72QqxR7FZWYOY7Z\r\nT+xWiEFvlcfHZ67BGS5QFloy5OZVi0T2S37jamIP3Hjg15EgZ7FqOm14J2AX\r\nwasd159nWkGQbpvKQogtngQ5caN3a5DJEmt0UI4W1xSi24E4JaG6hzhasHuu\r\nto9am4QCYMlulAnmnn5Vw474n+8eZbXE6buvXOMHNasQrKzoXxuiHiwjl32c\r\nDiVp3SFt4C0aV3ZqBiY7kGSnk4jIKzBN1IgRlwcsydpdoDxkdDZRL1cWNmP+\r\nOEX+qNkRjkyimLMF8ytpwmqA6EKJqpoSBSSyd9zRrlOl91HVVvesos4UdxHt\r\nHiwZfZjjpeu96SCFO+67uRVABgrdhC9uUyA+S3ixP97h75R0Zkwhn0bFdXVA\r\nqB76UupRfkqz/QQ6YJIlIb4HYQ1V5qkXX0Q=\r\n=mu9V\r\n-----END PGP SIGNATURE-----\r\n","size":5346},"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"tituswormer@gmail.com"},{"name":"anonymous","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-from-dom_4.2.0_1673277642356_0.7849823768989472"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-09T15:20:42.533Z","publish_time":1673277642533},"5.0.0":{"name":"hast-util-from-dom","version":"5.0.0","description":"hast utility to create a tree from the DOM","license":"ISC","keywords":["unist","hast","hast-util","util","utility","rehype","dom","html"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-from-dom.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-from-dom/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},"contributors":[{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/hast":"^3.0.0","hastscript":"^8.0.0","web-namespaces":"^2.0.0"},"devDependencies":{"@types/jsdom":"^21.0.0","@types/node":"^20.0.0","c8":"^8.0.0","jsdom":"^22.0.0","prettier":"^3.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","xo":"^0.55.0"},"scripts":{"prepack":"npm run build && npm run format","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --log-level warn && xo --fix","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"bracketSpacing":false,"semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"xo":{"overrides":[{"files":"test/**/*.js","rules":{"no-await-in-loop":"off"}}],"prettier":true},"gitHead":"6cc98a4b4d4c35b71ed7914f71d7c1bb17622672","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/hast-util-from-dom#readme","_id":"hast-util-from-dom@5.0.0","_nodeVersion":"20.0.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-d6235voAp/XR3Hh5uy7aGLbM3S4KamdW0WEgOaU1YoewnuYw4HXb5eRtv9g65m/RFGEfUY1Mw4UqCc5Y8L4Stg==","shasum":"d32edd25bf28f4b178b5ae318f8d05762e67bd16","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-from-dom/-/hast-util-from-dom-5.0.0.tgz","fileCount":7,"unpackedSize":16379,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdfndcAQYwrkrPLmeCGAsasy3BtAxoSA/f1k8HUxPNXAIhALG6ezcKBhVByUGeNrHVp2L2BE/7s0IWONgQZL7dj/Mj"}]},"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"tituswormer@gmail.com"},{"name":"anonymous","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-from-dom_5.0.0_1691148314944_0.5210019258036112"},"_hasShrinkwrap":false},"5.0.1":{"author":{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-from-dom/issues"},"contributors":[{"name":"Keith McKnight","email":"keith@mcknig.ht","url":"https://keith.mcknig.ht"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"@types/hast":"^3.0.0","hastscript":"^9.0.0","web-namespaces":"^2.0.0"},"description":"hast utility to create a tree from the DOM","devDependencies":{"@types/jsdom":"^21.0.0","@types/node":"^22.0.0","c8":"^10.0.0","jsdom":"^25.0.0","prettier":"^3.0.0","remark-cli":"^12.0.0","remark-preset-wooorm":"^10.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","xo":"^0.59.0"},"exports":"./index.js","funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"keywords":["dom","hast-util","hast","html","rehype","unist","utility","util"],"license":"ISC","name":"hast-util-from-dom","prettier":{"bracketSpacing":false,"semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-from-dom.git"},"scripts":{"build":"tsc --build --clean && tsc --build && type-coverage","format":"remark --frail --quiet --output -- . && prettier --log-level warn --write -- . && xo --fix","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --reporter lcov -- npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"sideEffects":false,"typeCoverage":{"atLeast":100,"strict":true},"type":"module","version":"5.0.1","xo":{"overrides":[{"files":"test/**/*.js","rules":{"no-await-in-loop":"off"}}],"prettier":true},"_id":"hast-util-from-dom@5.0.1","gitHead":"a00e71765db75da0fbae2e86c90215aac2901335","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/hast-util-from-dom#readme","_nodeVersion":"23.1.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-N+LqofjR2zuzTjCPzyDUdSshy4Ma6li7p/c3pA78uTwzFgENbgbUrm2ugwsOdcjI1muO+o6Dgzp9p8WHtn/39Q==","shasum":"c3c92fbd8d4e1c1625edeb3a773952b9e4ad64a8","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-from-dom/-/hast-util-from-dom-5.0.1.tgz","fileCount":9,"unpackedSize":16369,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOJybsLtqqg0ODptvcQu5JP1pkBM8nKRx9ka4Ds5j9jQIhAO7pUe2155TSKTZhGmJ1GbnSE/G5vDU1ul8dkUcUr7Vr"}],"size":5699},"_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"tituswormer@gmail.com"},{"name":"anonymous","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-from-dom_5.0.1_1732007910346_0.18724328486116293"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-11-19T09:18:30.519Z","publish_time":1732007910519,"_source_registry_name":"default"}},"dist-tags":{"latest":"5.0.1"},"name":"hast-util-from-dom","time":{"modified":"2024-11-19T09:39:25.284Z","created":"2022-01-27T15:06:34.481Z","4.0.1":"2021-08-27T14:12:51.716Z","4.0.0":"2021-05-02T16:54:36.650Z","3.0.0":"2020-08-21T15:03:29.037Z","2.0.5":"2020-03-15T08:14:29.269Z","2.0.4":"2020-03-04T08:33:04.703Z","2.0.3":"2020-02-28T10:43:21.521Z","2.0.2":"2020-02-28T10:18:39.440Z","2.0.1":"2019-06-03T08:39:54.507Z","2.0.0":"2019-05-31T06:39:18.224Z","1.0.1":"2018-07-06T17:47:07.200Z","1.0.0":"2018-06-04T16:42:25.654Z","1.0.0-beta.0":"2018-05-30T21:12:37.704Z","4.1.0":"2022-01-29T13:27:47.338Z","4.2.0":"2023-01-09T15:20:42.533Z","5.0.0":"2023-08-04T11:25:15.124Z","5.0.1":"2024-11-19T09:18:30.519Z"},"readme":"# hast-util-from-dom\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[hast][] utility to transform from a [DOM][] tree.\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  * [`fromDom(tree, options?)`](#fromdomtree-options)\n  * [`AfterTransform`](#aftertransform)\n  * [`Options`](#options)\n* [Types](#types)\n* [Compatibility](#compatibility)\n* [Security](#security)\n* [Contribute](#contribute)\n* [Related](#related)\n* [License](#license)\n\n## What is this?\n\nThis package is a utility that takes a DOM tree (from the actual DOM or from\nthings like [`jsdom`][jsdom]) as input and turns it into a [hast][] (HTML)\nsyntax tree.\n\n## When should I use this?\n\nYou can use this project when you want to use hast in browsers.\nThis package is very small, but it does so by:\n\n* …not providing positional information\n* …potentially yielding varying results in different (especially older)\n  browsers\n\nThe hast utility [`hast-util-to-dom`][hast-util-to-dom] does the inverse of this\nutility.\nIt turns hast into a DOM tree.\n\nThe rehype plugin [`rehype-dom-parse`][rehype-dom-parse] wraps this utility to\nparse HTML with DOM APIs.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install hast-util-from-dom\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {fromDom} from 'https://esm.sh/hast-util-from-dom@5'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {fromDom} from 'https://esm.sh/hast-util-from-dom@5?bundle'\n</script>\n```\n\n## Use\n\nSay our page `example.html` looks as follows:\n\n```html\n<!doctype html>\n<title>Example</title>\n<body>\n  <main>\n    <h1>Hi</h1>\n    <p><em>Hello</em>, world!</p>\n  </main>\n  <script type=\"module\">\n    import {fromDom} from 'https://esm.sh/hast-util-from-dom@4?bundle'\n\n    const hast = fromDom(document.querySelector('main'))\n\n    console.log(hast)\n  </script>\n```\n\nNow running `open example.html` prints the following to the console:\n\n```js\n{type: \"element\", tagName: \"main\", properties: {}, children: Array}\n```\n\n## API\n\nThis package exports the identifier [`fromDom`][api-from-dom].\nThere is no default export.\n\n### `fromDom(tree, options?)`\n\nTransform a DOM tree to a hast tree.\n\n###### Parameters\n\n* `tree` ([`DomNode`][dom-node])\n  — DOM tree to transform\n* `options` ([`Options`][api-options], optional)\n  — configuration\n\n###### Returns\n\nEquivalent hast node ([`HastNode`][hast-node]).\n\n### `AfterTransform`\n\nCallback called when each node is transformed (TypeScript type).\n\n###### Parameters\n\n* `domNode` ([`DomNode`][dom-node])\n  — DOM node that was handled\n* `hastNode` ([`HastNode`][hast-node])\n  — corresponding hast node\n\n###### Returns\n\nNothing.\n\n### `Options`\n\nConfiguration (TypeScript type).\n\n##### Fields\n\n* `afterTransform` ([`AfterTransform`][api-after-transform], optional)\n  — callback called when each node is transformed\n\n##### Returns\n\n[`HastNode`][hast-node].\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports the additional types [`AfterTransform`][api-after-transform] and\n[`Options`][api-options].\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, `hast-util-from-dom@^5`,\ncompatible with Node.js 16.\n\n## Security\n\nUse of `hast-util-from-dom` itself is safe but see other utilities for more\ninformation on potential security problems.\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`syntax-tree/.github`][health] for\nways to 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, organisation, or community you agree to\nabide by its terms.\n\n## Related\n\n* [`hast-util-from-html`][hast-util-from-html]\n  — parse hast from a string of HTML\n* [`hast-util-sanitize`](https://github.com/syntax-tree/hast-util-sanitize)\n  — sanitize hast nodes\n* [`hast-util-to-html`](https://github.com/syntax-tree/hast-util-to-html)\n  — serialize hast as HTML\n* [`hast-util-to-dom`](https://github.com/syntax-tree/hast-util-to-dom)\n  — create DOM trees from hast\n\n## License\n\n[ISC][license] © [Keith McKnight][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/syntax-tree/hast-util-from-dom/workflows/main/badge.svg\n\n[build]: https://github.com/syntax-tree/hast-util-from-dom/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/hast-util-from-dom.svg\n\n[coverage]: https://codecov.io/github/syntax-tree/hast-util-from-dom\n\n[downloads-badge]: https://img.shields.io/npm/dm/hast-util-from-dom.svg\n\n[downloads]: https://www.npmjs.com/package/hast-util-from-dom\n\n[size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=hast-util-from-dom\n\n[size]: https://bundlejs.com/?q=hast-util-from-dom\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/syntax-tree/unist/discussions\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esmsh]: https://esm.sh\n\n[typescript]: https://www.typescriptlang.org\n\n[license]: license\n\n[author]: https://keith.mcknig.ht\n\n[health]: https://github.com/syntax-tree/.github\n\n[contributing]: https://github.com/syntax-tree/.github/blob/main/contributing.md\n\n[support]: https://github.com/syntax-tree/.github/blob/main/support.md\n\n[coc]: https://github.com/syntax-tree/.github/blob/main/code-of-conduct.md\n\n[hast]: https://github.com/syntax-tree/hast\n\n[hast-node]: https://github.com/syntax-tree/hast#nodes\n\n[dom]: https://developer.mozilla.org/docs/Web/API/Document_Object_Model\n\n[dom-node]: https://developer.mozilla.org/docs/Web/API/Node\n\n[hast-util-from-html]: https://github.com/syntax-tree/hast-util-from-html\n\n[hast-util-to-dom]: https://github.com/syntax-tree/hast-util-to-dom\n\n[rehype-dom-parse]: https://github.com/rehypejs/rehype-dom/tree/main/packages/rehype-dom-parse\n\n[jsdom]: https://github.com/jsdom/jsdom\n\n[api-from-dom]: #fromdomtree-options\n\n[api-options]: #options\n\n[api-after-transform]: #aftertransform","users":{}}