{"versions":{"1.1.0":{"name":"hast-util-is-element","version":"1.1.0","description":"hast utility to check if a node is a (certain) element","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","is","element"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-is-element.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-is-element/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":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^8.0.0","remark-preset-wooorm":"^7.0.0","tape":"^5.0.0","tinyify":"^3.0.0","xo":"^0.33.0"},"scripts":{"format":"remark . -qfo && prettier . --write && xo --fix","build-bundle":"browserify . -s hastUtilIsElement > hast-util-is-element.js","build-mangle":"browserify . -s hastUtilIsElement -p tinyify > hast-util-is-element.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"max-params":"off","unicorn/prefer-includes":"off","unicorn/prefer-reflect-apply":"off"},"ignores":["hast-util-is-element.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"759b7f9c56c288e50d97a29f436ff35b023637b6","homepage":"https://github.com/syntax-tree/hast-util-is-element#readme","_id":"hast-util-is-element@1.1.0","_nodeVersion":"14.7.0","_npmVersion":"6.14.8","dist":{"shasum":"3b3ed5159a2707c6137b48637fbfe068e175a425","size":4288,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-is-element/-/hast-util-is-element-1.1.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-is-element_1.1.0_1598006767426_0.6590719724834488"},"_hasShrinkwrap":false,"publish_time":1598006767769,"_cnpm_publish_time":1598006767769},"1.0.4":{"name":"hast-util-is-element","version":"1.0.4","description":"hast utility to check if a node is a (certain) element","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","is","element"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-is-element.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-is-element/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":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^15.0.0","prettier":"^1.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","tape":"^4.0.0","tinyify":"^2.0.0","xo":"^0.27.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s hastUtilIsElement > hast-util-is-element.js","build-mangle":"browserify . -s hastUtilIsElement -p tinyify > hast-util-is-element.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-includes":"off"},"ignores":["hast-util-is-element.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"6bb2cdc4ee52c2df2454cdd6e63e2ec91f87d8d5","homepage":"https://github.com/syntax-tree/hast-util-is-element#readme","_id":"hast-util-is-element@1.0.4","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"shasum":"059090a05cc02e275df1ad02caf8cb422fcd2e02","size":3074,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-is-element/-/hast-util-is-element-1.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-is-element_1.0.4_1582832810921_0.9319216868951221"},"_hasShrinkwrap":false,"publish_time":1582832811014,"_cnpm_publish_time":1582832811014},"1.0.3":{"name":"hast-util-is-element","version":"1.0.3","description":"Check if a node is a (certain) element","license":"MIT","keywords":["hast","html","is","element","util","utility"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-is-element.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-is-element/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":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^14.0.0","prettier":"^1.0.0","remark-cli":"^6.0.0","remark-preset-wooorm":"^5.0.0","tape":"^4.0.0","tinyify":"^2.0.0","xo":"^0.24.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s hastUtilIsElement > hast-util-is-element.js","build-mangle":"browserify . -s hastUtilIsElement -p tinyify > hast-util-is-element.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["hast-util-is-element.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"c0d72f3688afb6110bb3453d266c066d231cf37f","homepage":"https://github.com/syntax-tree/hast-util-is-element#readme","_id":"hast-util-is-element@1.0.3","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"shasum":"423b4b26fe8bf1f25950fe052e9ce8f83fd5f6a4","size":2929,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-is-element/-/hast-util-is-element-1.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-is-element_1.0.3_1558856752437_0.36285472162048515"},"_hasShrinkwrap":false,"publish_time":1558856752599,"_cnpm_publish_time":1558856752599},"1.0.2":{"name":"hast-util-is-element","version":"1.0.2","description":"Check if a node is a (certain) element","license":"MIT","keywords":["hast","html","is","element","util","utility"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-is-element.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-is-element/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":{},"devDependencies":{"browserify":"^16.0.0","nyc":"^13.0.0","prettier":"^1.13.5","remark-cli":"^6.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.4.0","tinyify":"^2.4.3","xo":"^0.23.0"},"scripts":{"format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","build-bundle":"browserify . -s hastUtilIsElement > hast-util-is-element.js","build-mangle":"browserify . -s hastUtilIsElement -p tinyify > hast-util-is-element.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["hast-util-is-element.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"ff94135cc668dc76e816979b1b50e09605262b97","homepage":"https://github.com/syntax-tree/hast-util-is-element#readme","_id":"hast-util-is-element@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"dist":{"shasum":"c23c9428b6a5a4e323bf9e16f87417476314981b","size":2730,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-is-element/-/hast-util-is-element-1.0.2.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-is-element_1.0.2_1541621105694_0.37165940674792997"},"_hasShrinkwrap":false,"publish_time":1541621105823,"_cnpm_publish_time":1541621105823},"1.0.1":{"name":"hast-util-is-element","version":"1.0.1","description":"Check if a node is a (certain) element","license":"MIT","keywords":["hast","html","is","element","util","utility"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-is-element.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-is-element/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"],"dependencies":{},"devDependencies":{"browserify":"^16.0.0","esmangle":"^1.0.1","nyc":"^12.0.0","prettier":"^1.13.5","remark-cli":"^5.0.0","remark-preset-wooorm":"^4.0.0","tape":"^4.4.0","xo":"^0.21.0"},"scripts":{"format":"remark . -qfo && prettier --write '**/*.js' && xo --fix","build-bundle":"browserify index.js --bare -s hastUtilIsElement > hast-util-is-element.js","build-mangle":"esmangle hast-util-is-element.js > hast-util-is-element.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run format && npm run build && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["hast-util-is-element.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"10d6f08b5ef8b6158b8cb283a54e4fb7ad0a1229","homepage":"https://github.com/syntax-tree/hast-util-is-element#readme","_id":"hast-util-is-element@1.0.1","_npmVersion":"6.1.0","_nodeVersion":"10.0.0","_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"dist":{"shasum":"c76e8aafbdb6e5c83265bf50324e2f2e024eb12a","size":2652,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-is-element/-/hast-util-is-element-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-is-element_1.0.1_1529522152294_0.9348489569264657"},"_hasShrinkwrap":false,"publish_time":1529522152430,"_cnpm_publish_time":1529522152430},"1.0.0":{"name":"hast-util-is-element","version":"1.0.0","description":"Check if a node is a (certain) element","license":"MIT","keywords":["hast","html","is","element","util","utility"],"dependencies":{},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/wooorm/hast-util-is-element.git"},"bugs":{"url":"https://github.com/wooorm/hast-util-is-element/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"}],"devDependencies":{"browserify":"^13.0.0","eslint":"^2.0.0","esmangle":"^1.0.1","istanbul":"^0.4.0","jscs":"^3.0.0","jscs-jsdoc":"^2.0.0","remark":"^4.0.0","remark-comment-config":"^3.0.0","remark-github":"^4.0.1","remark-lint":"^3.0.0","remark-usage":"^3.0.0","remark-validate-links":"^3.0.0","tape":"^4.4.0"},"scripts":{"build-md":"remark . --quiet --frail","build-bundle":"browserify index.js --bare -s hastUtilIsElement > hast-util-is-element.js","build-mangle":"esmangle hast-util-is-element.js > hast-util-is-element.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint-api":"eslint .","lint-style":"jscs --reporter inline .","lint":"npm run lint-api && npm run lint-style","test-api":"node test.js","test-coverage":"istanbul cover test.js","test":"npm run build && npm run lint && npm run test-coverage"},"gitHead":"7f554f055942a7ac0d46fe4b7b34c3240745771d","homepage":"https://github.com/wooorm/hast-util-is-element#readme","_id":"hast-util-is-element@1.0.0","_shasum":"3f7216978b2ae14d98749878782675f33be3ce00","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"anonymous","email":"tituswormer@gmail.com"},"dist":{"shasum":"3f7216978b2ae14d98749878782675f33be3ce00","size":2751,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-is-element/-/hast-util-is-element-1.0.0.tgz"},"maintainers":[{"name":"anonymous","email":"keith@mcknig.ht"},{"name":"anonymous","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/hast-util-is-element-1.0.0.tgz_1460904202585_0.36159496335312724"},"directories":{},"publish_time":1460904203709,"_cnpm_publish_time":1460904203709,"_hasShrinkwrap":false},"2.1.1":{"name":"hast-util-is-element","version":"2.1.1","description":"","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","is","element"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-is-element.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-is-element/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","@types/unist":"^2.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.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","tsd":"^0.17.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unified":"^10.0.0","xo":"^0.42.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && tsd && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.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":"b7210736550e6d6b5249560609e6ecada9843c42","homepage":"https://github.com/syntax-tree/hast-util-is-element#readme","_id":"hast-util-is-element@2.1.1","_nodeVersion":"16.2.0","_npmVersion":"7.18.1","dist":{"shasum":"863019a27400dc4f1aedfa4900627f42fd75c2b7","size":5600,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-is-element/-/hast-util-is-element-2.1.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-is-element_2.1.1_1627122816595_0.816530229122342"},"_hasShrinkwrap":false,"publish_time":1627122816748,"_cnpm_publish_time":1627122816748},"2.1.0":{"name":"hast-util-is-element","version":"2.1.0","description":"","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","is","element"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-is-element.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-is-element/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","@types/unist":"^2.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.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","tsd":"^0.14.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unified":"^9.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && tsd && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.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,"rules":{"no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"2350475803dab89e5be54f6937a279259c62bcb8","homepage":"https://github.com/syntax-tree/hast-util-is-element#readme","_id":"hast-util-is-element@2.1.0","_nodeVersion":"15.11.0","_npmVersion":"7.11.1","dist":{"shasum":"ecdc0c00c06f5b4de8ea27b9084cb75d1326a7b1","size":5562,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-is-element/-/hast-util-is-element-2.1.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-is-element_2.1.0_1620661325059_0.3659943660851155"},"_hasShrinkwrap":false,"publish_time":1620661325212,"_cnpm_publish_time":1620661325212},"2.0.1":{"name":"hast-util-is-element","version":"2.0.1","description":"","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","is","element"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-is-element.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-is-element/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","@types/unist":"^2.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.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","tsd":"^0.14.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unified":"^9.0.0","xo":"^0.38.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && tsd && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.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,"rules":{"no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"da178133498e3209b78d8ec663cd32da0e8f1cdf","homepage":"https://github.com/syntax-tree/hast-util-is-element#readme","_id":"hast-util-is-element@2.0.1","_nodeVersion":"15.11.0","_npmVersion":"7.10.0","dist":{"shasum":"eb8f6db6d06950dc4b99f17d79dea6aa2368f4fe","size":5554,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-is-element/-/hast-util-is-element-2.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-is-element_2.0.1_1619369992858_0.9537871547214425"},"_hasShrinkwrap":false,"publish_time":1619369992999,"_cnpm_publish_time":1619369992999},"2.0.0":{"name":"hast-util-is-element","version":"2.0.0","description":"","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","is","element"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-is-element.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-is-element/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","@types/unist":"^2.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.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","tsd":"^0.14.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unified":"^9.0.0","xo":"^0.38.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && tsd && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.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,"rules":{"no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"d0fabae5cd14254a34f0f4854402bb68eca71d97","homepage":"https://github.com/syntax-tree/hast-util-is-element#readme","_id":"hast-util-is-element@2.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.10.0","dist":{"shasum":"3429ffe11d3d483ae56e146a3ba2585079d11184","size":5535,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-is-element/-/hast-util-is-element-2.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-is-element_2.0.0_1619368269730_0.800099439836375"},"_hasShrinkwrap":false,"publish_time":1619368269838,"_cnpm_publish_time":1619368269838},"2.1.2":{"name":"hast-util-is-element","version":"2.1.2","description":"","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","is","element"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-is-element.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-is-element/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","@types/unist":"^2.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.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","tsd":"^0.19.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unified":"^10.0.0","xo":"^0.47.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && tsd && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.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":"d1d27b140b90371b67c6d32327113bc70f461e18","homepage":"https://github.com/syntax-tree/hast-util-is-element#readme","_id":"hast-util-is-element@2.1.2","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"integrity":"sha512-thjnlGAnwP8ef/GSO1Q8BfVk2gundnc2peGQqEg2kUt/IqesiGg/5mSwN2fE7nLzy61pg88NG6xV+UrGOrx9EA==","shasum":"fc0b0dc7cef3895e839b8d66979d57b0338c68f3","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-is-element/-/hast-util-is-element-2.1.2.tgz","fileCount":5,"unpackedSize":20238,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhqQsNCRA9TVsSAnZWagAAMYAP/Rcpmkp2S2/H4zlo3Kev\nZaBtZoUx8P7vJ4J5XmQqYeHDHW5wHdqAv4HI6GF0QBelqrIOSeBNJ5HqqaV+\n0rDEJ6pjlj1HXm91kPHrZrTpFxTsoFY2d0UOCBeZof7guHLj0UVM/66I45tK\nMRMl3/D2yuGEO+G2IiIkBukkXUNBJRkjSlXPQTotNXEg/JiyzuBS68rtJkzN\nnPY4ECjiA6jSPEy1rX9kwLiew0HGrm9GMs+y626TtZaEV1ITcSktxCSzGr78\n0HOqH2hJPt/CLcLO3sD18+gNAkro0NNYHwjFyrIxsJYc39aD/xddbjEq99fB\nn4PVBDSHxp9NW9S5iMNcvwllvezfV7s5cpnYKYqajPRuPKSyvVvTx9bcrJYM\nLeGIwKznsSMa1Vx9QlaDfRP/h0MqxUJgSPATVhifjO1lU3siKLczBRHGpy5S\ndNGIc9mhuQcB6CHUkHLCThSm00gVKoTxYeF3zioRPHzOJBrw1e18/SMD7U7Z\n8EhInnw065Hidg2oCyVshnoY5W0RVMBC0Ymw5HCZQL0loIJYpVVOoUXmOieG\ntoStWDhyLxPqCERT8yGA3qBzTABGq37CN2WrhrqjYR/WKk2+S++6RkoD3rD+\nA1hfBvNMGexlU+xhRjykN5slKmUPNRkoE/J/P5zbcpotjfXnjbPbxM1fjt9q\nN35z\r\n=Ntmp\r\n-----END PGP SIGNATURE-----\r\n","size":5621,"noattachment":false},"_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-is-element_2.1.2_1638468365740_0.6342685292661334"},"_hasShrinkwrap":false,"publish_time":1638468365876,"_cnpm_publish_time":1638468365876},"2.1.3":{"name":"hast-util-is-element","version":"2.1.3","description":"hast utility to check if a node is a (certain) element","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","is","element"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-is-element.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-is-element/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","@types/unist":"^2.0.0"},"devDependencies":{"@types/node":"^18.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","tsd":"^0.25.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unified":"^10.0.0","xo":"^0.53.0"},"scripts":{"prepack":"npm run build && npm run format","build":"tsc --build --clean && tsc --build && tsd && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.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},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"75c07654663cf3cf47d2b800349beea86ccc4f31","homepage":"https://github.com/syntax-tree/hast-util-is-element#readme","_id":"hast-util-is-element@2.1.3","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-O1bKah6mhgEq2WtVMk+Ta5K7pPMqsBBlmzysLdcwKVrqzZQ0CHqUPiIVspNhAG1rvxpvJjtGee17XfauZYKqVA==","shasum":"cd3279cfefb70da6d45496068f020742256fc471","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-is-element/-/hast-util-is-element-2.1.3.tgz","fileCount":5,"unpackedSize":27463,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAZY24he8WptfT1+Z5wl6FRMTLgf6RnDLiKTqF9TP79KAiEA5zDPlsw4Gu02WqSH7JlWKwCXO7hgmpAz3xw4vxfFl9I="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjt/U+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrC1Q//fX1Fg1eic9tngcPJYXttut/gW5TsxkDkiSOecJwI0j4xE3MO\r\n/EUwgtF1p0JgUwnCS2td6SvsHmJtZHullqMNTw9mDJhtru/Zrj1TRYZI2F3y\r\nl3jqtCzqP48qunJwz8I/ZBNG31D//VxytBPRUgR3AwpcPmIMlNsNlJC64sEB\r\nRUdni4CKWYW6lsl4EHcKOEKeorzoulyBcaG17JpkfYfRtvpzH13nOnep2L/6\r\nsZLFcg9y31T1PaFft9YocTPHGd1mySiGF+2LGH0aYGGNtZIQk4ZODmfbJeOn\r\nCVU9qq9xxr7zWy6f8sI7hYENNdtAPVVXOAfmXGd8KUULy7GGsSX5VFpnALdh\r\nj5CVzsUdIQ9ObEaJ/6PufzezUTFME+J+ru6WsO+eNz3hvvAa26CP3OWo1Bpv\r\nbzdBjXi1m8En6S5PMLA5bxIip11vSUl/FU7qoI69OgsFRhR+P2IQ7JwvG2wU\r\n0Ln6q6jO9OxOJ6PUn0R+taswK+K/SWktM+RdWe6lgKxm//+yr95v6I+cZ1cT\r\ni7bjwGQQ9tY4qXQKqF3ACUaE8N1i90s44s5cmFWuojpF+gOyHcS7PmcnY/HC\r\nbaeGIdJYdNi0+kwlqWrwmgsMFYLEv2ZqdYtKqecS6iPdF/lXai01Y0o1dRPj\r\ntLhKi2TrHvvjJAeX+e6y7OumjEQCD2M2Mws=\r\n=5PMb\r\n-----END PGP SIGNATURE-----\r\n","size":6427},"_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-is-element_2.1.3_1673000253957_0.5578469022114616"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-06T10:23:22.957Z"},"3.0.0":{"name":"hast-util-is-element","version":"3.0.0","description":"hast utility to check if a node is a (certain) element","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","is","element"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-is-element.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-is-element/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/hast":"^3.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^8.0.0","prettier":"^3.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","tsd":"^0.28.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 && tsd && type-coverage","format":"remark . -qfo && prettier . -w --log-level warn && xo --fix","test-api":"node --conditions development test.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,"#":"needed `any`s :'(","ignoreFiles":["lib/index.d.ts"],"strict":true},"xo":{"prettier":true},"gitHead":"e98fc840d5178d57d04ba34894506ca2aa88f78b","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/hast-util-is-element#readme","_id":"hast-util-is-element@3.0.0","_nodeVersion":"20.0.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g==","shasum":"6e31a6532c217e5b533848c7e52c9d9369ca0932","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/hast-util-is-element/-/hast-util-is-element-3.0.0.tgz","fileCount":7,"unpackedSize":26338,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOEBNLb9uxYnY+nUgAUR8z63UCd0FJn1OuPF62gfFoLgIgfwVFBuso+ZpP/192Fou3rKTJ6WiRez4YO+r2r4IETKs="}]},"_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-is-element_3.0.0_1690816141008_0.22355871745271472"},"_hasShrinkwrap":false}},"dist-tags":{"latest":"3.0.0"},"name":"hast-util-is-element","time":{"modified":"2024-05-27T12:49:58.819Z","created":"2022-01-26T18:17:00.749Z","1.1.0":"2020-08-21T10:46:07.769Z","1.0.4":"2020-02-27T19:46:51.014Z","1.0.3":"2019-05-26T07:45:52.599Z","1.0.2":"2018-11-07T20:05:05.823Z","1.0.1":"2018-06-20T19:15:52.430Z","1.0.0":"2016-04-17T14:43:23.709Z","2.1.1":"2021-07-24T10:33:36.748Z","2.1.0":"2021-05-10T15:42:05.212Z","2.0.1":"2021-04-25T16:59:52.999Z","2.0.0":"2021-04-25T16:31:09.838Z","2.1.2":"2021-12-02T18:06:05.876Z","2.1.3":"2023-01-06T10:17:34.199Z","3.0.0":"2023-07-31T15:09:01.219Z"},"readme":"# hast-util-is-element\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 check if a node is a (certain) element.\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    *   [`isElement(element[, test[, index, parent[, context]]])`](#iselementelement-test-index-parent-context)\n    *   [`convertElement(test)`](#convertelementtest)\n    *   [`Check`](#check)\n    *   [`Test`](#test)\n    *   [`TestFunction`](#testfunction)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Security](#security)\n*   [Related](#related)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis package is a small utility that checks that a node is a certain element.\n\n## When should I use this?\n\nUse this small utility if you find yourself repeating code for checking what\nelements nodes are.\n\nA similar package, [`unist-util-is`][unist-util-is], works on any unist node.\n\nFor more advanced tests, [`hast-util-select`][hast-util-select] can be used\nto match against CSS selectors.\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-is-element\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {isElement} from 'https://esm.sh/hast-util-is-element@3'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {isElement} from 'https://esm.sh/hast-util-is-element@3?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {isElement} from 'hast-util-is-element'\n\nisElement({type: 'text', value: 'foo'}) // => false\nisElement({type: 'element', tagName: 'a', properties: {}, children: []}) // => true\nisElement({type: 'element', tagName: 'a', properties: {}, children: []}, 'a') // => true\nisElement({type: 'element', tagName: 'a', properties: {}, children: []}, 'b') // => false\nisElement({type: 'element', tagName: 'a', properties: {}, children: []}, ['a', 'area']) // => true\n```\n\n## API\n\nThis package exports the identifiers\n[`convertElement`][api-convert-element] and\n[`isElement`][api-is-element].\nThere is no default export.\n\n### `isElement(element[, test[, index, parent[, context]]])`\n\nCheck if `element` is an `Element` and whether it passes the given test.\n\n###### Parameters\n\n*   `element` (`unknown`, optional)\n    — thing to check, typically [`Node`][hast-node]\n*   `test` ([`Test`][api-test], optional)\n    — check for a specific element\n*   `index` (`number`, optional)\n    — position of `element` in its parent\n*   `parent` ([`Parent`][hast-parent], optional)\n    — parent of `element`\n*   `context` (`unknown`, optional)\n    — context object (`this`) to call `test` with\n\n###### Returns\n\nWhether `element` is an `Element` and passes a test (`boolean`).\n\n###### Throws\n\nWhen an incorrect `test`, `index`, or `parent` is given.\nThere is no error thrown when `element` is not a node or not an element.\n\n### `convertElement(test)`\n\nGenerate a check from a test.\n\nUseful if you’re going to test many nodes, for example when creating a\nutility where something else passes a compatible test.\n\nThe created function is a bit faster because it expects valid input only:\na `element`, `index`, and `parent`.\n\n###### Parameters\n\n*   `test` ([`Test`][api-test], optional)\n    — a test for a specific element\n\n###### Returns\n\nA check ([`Check`][api-check]).\n\n### `Check`\n\nCheck that an arbitrary value is an element (TypeScript type).\n\n###### Parameters\n\n*   `this` (`unknown`, optional)\n    — context object (`this`) to call `test` with\n*   `element` (`unknown`)\n    — anything (typically an element)\n*   `index` (`number`, optional)\n    — position of `element` in its parent\n*   `parent` ([`Parent`][hast-parent], optional)\n    — parent of `element`\n\n###### Returns\n\nWhether this is an element and passes a test (`boolean`).\n\n### `Test`\n\nCheck for an arbitrary element (TypeScript type).\n\n*   when `string`, checks that the element has that tag name\n*   when `function`, see  [`TestFunction`][api-test-function]\n*   when `Array`, checks if one of the subtests pass\n\n###### Type\n\n```ts\ntype Test =\n  | Array<TestFunction | string>\n  | TestFunction\n  | string\n  | null\n  | undefined\n```\n\n### `TestFunction`\n\nCheck if an element passes a test (TypeScript type).\n\n###### Parameters\n\n*   `element` ([`Element`][hast-element])\n    — an element\n*   `index` (`number` or `undefined`)\n    — position of `element` in its parent\n*   `parent` ([`Parent`][hast-parent] or `undefined`)\n    — parent of `element`\n\n###### Returns\n\nWhether this element passes the test (`boolean`, optional).\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports the additional types [`Check`][api-check],\n[`Test`][api-test], and\n[`TestFunction`][api-test-function].\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-is-element@^3`,\ncompatible with Node.js 16.\n\n## Security\n\n`hast-util-is-element` does not change the syntax tree so there are no openings\nfor [cross-site scripting (XSS)][xss] attacks.\n\n## Related\n\n*   [`hast-util-has-property`](https://github.com/syntax-tree/hast-util-has-property)\n    — check if a node has a property\n*   [`hast-util-is-body-ok-link`](https://github.com/rehypejs/rehype-minify/tree/main/packages/hast-util-is-body-ok-link)\n    — check if a node is “Body OK” link element\n*   [`hast-util-is-conditional-comment`](https://github.com/rehypejs/rehype-minify/tree/main/packages/hast-util-is-conditional-comment)\n    — check if a node is a conditional comment\n*   [`hast-util-is-css-link`](https://github.com/rehypejs/rehype-minify/tree/main/packages/hast-util-is-css-link)\n    — check if a node is a CSS link element\n*   [`hast-util-is-css-style`](https://github.com/rehypejs/rehype-minify/tree/main/packages/hast-util-is-css-style)\n    — check if a node is a CSS style element\n*   [`hast-util-embedded`](https://github.com/syntax-tree/hast-util-embedded)\n    — check if a node is an embedded element\n*   [`hast-util-heading`](https://github.com/syntax-tree/hast-util-heading)\n    — check if a node is a heading element\n*   [`hast-util-interactive`](https://github.com/syntax-tree/hast-util-interactive)\n    — check if a node is interactive\n*   [`hast-util-is-javascript`](https://github.com/rehypejs/rehype-minify/tree/main/packages/hast-util-is-javascript)\n    — check if a node is a JavaScript script element\n*   [`hast-util-labelable`](https://github.com/syntax-tree/hast-util-labelable)\n    — check whether a node is labelable\n*   [`hast-util-phrasing`](https://github.com/syntax-tree/hast-util-phrasing)\n    — check if a node is phrasing content\n*   [`hast-util-script-supporting`](https://github.com/syntax-tree/hast-util-script-supporting)\n    — check if a node is a script-supporting element\n*   [`hast-util-sectioning`](https://github.com/syntax-tree/hast-util-sectioning)\n    — check if a node is a sectioning element\n*   [`hast-util-transparent`](https://github.com/syntax-tree/hast-util-transparent)\n    — check if a node is a transparent element\n*   [`hast-util-whitespace`](https://github.com/syntax-tree/hast-util-whitespace)\n    — check if a node is inter-element whitespace\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, organization, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definition -->\n\n[build-badge]: https://github.com/syntax-tree/hast-util-is-element/workflows/main/badge.svg\n\n[build]: https://github.com/syntax-tree/hast-util-is-element/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/hast-util-is-element.svg\n\n[coverage]: https://codecov.io/github/syntax-tree/hast-util-is-element\n\n[downloads-badge]: https://img.shields.io/npm/dm/hast-util-is-element.svg\n\n[downloads]: https://www.npmjs.com/package/hast-util-is-element\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-is-element\n\n[size]: https://bundlejs.com/?q=hast-util-is-element\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://wooorm.com\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[hast-parent]: https://github.com/syntax-tree/hast#parent\n\n[hast-element]: https://github.com/syntax-tree/hast#element\n\n[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting\n\n[unist-util-is]: https://github.com/syntax-tree/unist-util-is\n\n[hast-util-select]: https://github.com/syntax-tree/hast-util-select\n\n[api-is-element]: #iselementelement-test-index-parent-context\n\n[api-convert-element]: #convertelementtest\n\n[api-check]: #check\n\n[api-test]: #test\n\n[api-test-function]: #testfunction","users":{}}