{"_id":"hast-util-has-property","_rev":"265165","name":"hast-util-has-property","description":"hast utility to check if a node has a property","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"wooorm","email":""}],"time":{"modified":"2023-03-27T18:57:46.000Z","created":"2016-04-15T15:59:57.571Z","2.0.1":"2023-01-07T14:56:28.216Z","2.0.0":"2021-04-25T17:13:07.614Z","1.0.4":"2020-02-28T08:58:00.789Z","1.0.3":"2019-05-25T09:11:34.796Z","1.0.2":"2018-11-07T17:41:58.627Z","1.0.1":"2017-11-19T15:51:52.954Z","1.0.0":"2016-04-15T15:59:57.571Z"},"users":{},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-has-property.git"},"versions":{"2.0.1":{"name":"hast-util-has-property","version":"2.0.1","description":"hast utility to check if a node has a property","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","element","property","check"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-has-property.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-has-property/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","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","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.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":"bba01b9713b50072180ac389431f328933c8da9d","homepage":"https://github.com/syntax-tree/hast-util-has-property#readme","_id":"hast-util-has-property@2.0.1","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"shasum":"8ec99c3e8f02626304ee438cdb9f0528b017e083","size":4047,"noattachment":false,"key":"/hast-util-has-property/-/hast-util-has-property-2.0.1.tgz","tarball":"http://name.csiicloud.com:7001/hast-util-has-property/download/hast-util-has-property-2.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-has-property_2.0.1_1673103388029_0.13967383089648888"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-07T14:56:31.364Z","publish_time":1673103388216,"_cnpm_publish_time":1673103388216},"2.0.0":{"name":"hast-util-has-property","version":"2.0.0","description":"hast utility to check if a node has a property","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","element","property","check"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-has-property.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-has-property/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","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","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && 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":"d42de4d80b0ceffbabd803b91300ef93e0460b11","homepage":"https://github.com/syntax-tree/hast-util-has-property#readme","_id":"hast-util-has-property@2.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.10.0","dist":{"shasum":"c15cd6180f3e535540739fcc9787bcffb5708cae","size":3478,"noattachment":false,"key":"/hast-util-has-property/-/hast-util-has-property-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/hast-util-has-property/download/hast-util-has-property-2.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-has-property_2.0.0_1619370787293_0.7525192773002898"},"_hasShrinkwrap":false,"publish_time":1619370787614,"_cnpm_publish_time":1619370787614,"_cnpmcore_publish_time":"2021-12-16T16:24:56.620Z"},"1.0.4":{"name":"hast-util-has-property","version":"1.0.4","description":"hast utility to check if a node has a property","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","element","property","check"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-has-property.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-has-property/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 hastUtilHasProperty > hast-util-has-property.js","build-mangle":"browserify . -s hastUtilHasProperty -p tinyify > hast-util-has-property.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-has-property.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"cbd3cec62c30df85b7b2bdc02f793d6e345bd413","homepage":"https://github.com/syntax-tree/hast-util-has-property#readme","_id":"hast-util-has-property@1.0.4","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"shasum":"9f137565fad6082524b382c1e7d7d33ca5059f36","size":2837,"noattachment":false,"key":"/hast-util-has-property/-/hast-util-has-property-1.0.4.tgz","tarball":"http://name.csiicloud.com:7001/hast-util-has-property/download/hast-util-has-property-1.0.4.tgz"},"maintainers":[{"name":"wooorm","email":""}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-has-property_1.0.4_1582880280547_0.07423294191168495"},"_hasShrinkwrap":false,"publish_time":1582880280789,"_cnpm_publish_time":1582880280789,"_cnpmcore_publish_time":"2021-12-16T16:24:56.804Z"},"1.0.3":{"name":"hast-util-has-property","version":"1.0.3","description":"Check if a node has a property","license":"MIT","keywords":["hast","html","element","property"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-has-property.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-has-property/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 hastUtilHasProperty > hast-util-has-property.js","build-mangle":"browserify . -s hastUtilHasProperty -p tinyify > hast-util-has-property.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-has-property.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"36ec2735053a9214d3e93c56bf8f880cf90a0c4e","homepage":"https://github.com/syntax-tree/hast-util-has-property#readme","_id":"hast-util-has-property@1.0.3","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"shasum":"568bb8d3048483797b21d5d409eae43d89135a0f","size":2711,"noattachment":false,"key":"/hast-util-has-property/-/hast-util-has-property-1.0.3.tgz","tarball":"http://name.csiicloud.com:7001/hast-util-has-property/download/hast-util-has-property-1.0.3.tgz"},"maintainers":[{"name":"wooorm","email":""}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-has-property_1.0.3_1558775494633_0.8605209870288388"},"_hasShrinkwrap":false,"publish_time":1558775494796,"_cnpm_publish_time":1558775494796,"_cnpmcore_publish_time":"2021-12-16T16:24:57.013Z"},"1.0.2":{"name":"hast-util-has-property","version":"1.0.2","description":"Check if a node has a property","license":"MIT","keywords":["hast","html","element","property"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-has-property.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-has-property/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 hastUtilHasProperty > hast-util-has-property.js","build-mangle":"browserify . -s hastUtilHasProperty -p tinyify > hast-util-has-property.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-has-property.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"30324a8c7585664c9aa6a80804581d57303013a2","homepage":"https://github.com/syntax-tree/hast-util-has-property#readme","_id":"hast-util-has-property@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"4c9c3c6122fcc84a5b7c40a573940aaa4b8a8278","size":2585,"noattachment":false,"key":"/hast-util-has-property/-/hast-util-has-property-1.0.2.tgz","tarball":"http://name.csiicloud.com:7001/hast-util-has-property/download/hast-util-has-property-1.0.2.tgz"},"maintainers":[{"name":"wooorm","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-has-property_1.0.2_1541612518502_0.9288397473211583"},"_hasShrinkwrap":false,"publish_time":1541612518627,"_cnpm_publish_time":1541612518627,"_cnpmcore_publish_time":"2021-12-16T16:24:57.187Z"},"1.0.1":{"name":"hast-util-has-property","version":"1.0.1","description":"Check if a node has a property","license":"MIT","keywords":["hast","html","element","property"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-has-property.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-has-property/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":"^14.0.0","esmangle":"^1.0.1","nyc":"^11.0.0","remark-cli":"^4.0.0","remark-preset-wooorm":"^3.0.0","tape":"^4.4.0","xo":"^0.18.0"},"scripts":{"build-md":"remark . --quiet --frail --output","build-bundle":"browserify index.js --bare -s hastUtilHasProperty > hast-util-has-property.js","build-mangle":"esmangle hast-util-has-property.js > hast-util-has-property.min.js","build":"npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test.js","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run build && npm run lint && npm run test-coverage"},"xo":{"space":true,"esnext":false,"ignores":["hast-util-has-property.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"eb276a1161a5485009e1c5ee0911377a08c802f9","homepage":"https://github.com/syntax-tree/hast-util-has-property#readme","_id":"hast-util-has-property@1.0.1","_npmVersion":"5.5.1","_nodeVersion":"9.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"ac08c40bcbf27b80a85aaae91e4f6250a53e802f","size":2441,"noattachment":false,"key":"/hast-util-has-property/-/hast-util-has-property-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/hast-util-has-property/download/hast-util-has-property-1.0.1.tgz"},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-has-property-1.0.1.tgz_1511106712077_0.9835861655883491"},"directories":{},"publish_time":1511106712954,"_hasShrinkwrap":false,"_cnpm_publish_time":1511106712954,"_cnpmcore_publish_time":"2021-12-16T16:24:57.399Z"},"1.0.0":{"name":"hast-util-has-property","version":"1.0.0","description":"Check if a node has a property","license":"MIT","keywords":["hast","html","element","property"],"dependencies":{},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/wooorm/hast-util-has-property.git"},"bugs":{"url":"https://github.com/wooorm/hast-util-has-property/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 hastUtilHasProperty > hast-util-has-property.js","build-mangle":"esmangle hast-util-has-property.js > hast-util-has-property.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":"2a86129793bd382b947552dec9529b77b2afa6e7","homepage":"https://github.com/wooorm/hast-util-has-property#readme","_id":"hast-util-has-property@1.0.0","_shasum":"211f9d7f7640898244a33f5d16f5c5d1880c8e40","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"211f9d7f7640898244a33f5d16f5c5d1880c8e40","size":2596,"noattachment":false,"key":"/hast-util-has-property/-/hast-util-has-property-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/hast-util-has-property/download/hast-util-has-property-1.0.0.tgz"},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/hast-util-has-property-1.0.0.tgz_1460735995167_0.33866938343271613"},"directories":{},"publish_time":1460735997571,"_hasShrinkwrap":false,"_cnpm_publish_time":1460735997571,"_cnpmcore_publish_time":"2021-12-16T16:24:57.602Z"}},"readme":"# hast-util-has-property\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 an element has a certain property.\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    *   [`hasProperty(node, field)`](#haspropertynode-field)\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 if a node is an element that has\na given property.\n\n## When should I use this?\n\nThis utility is super niche, if you’re here you probably know what you’re\nlooking for!\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 14.14+ and 16.0+), install with [npm][]:\n\n```sh\nnpm install hast-util-has-property\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {hasProperty} from 'https://esm.sh/hast-util-has-property@2'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {hasProperty} from 'https://esm.sh/hast-util-has-property@2?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {hasProperty} from 'hast-util-has-property'\n\nhasProperty({type: 'text', value: 'alpha'}, 'bravo') // => false\n\nhasProperty(\n  {\n    type: 'element',\n    tagName: 'div',\n    properties: {id: 'bravo'},\n    children: []\n  },\n  'className'\n) // => false\n\nhasProperty(\n  {\n    type: 'element',\n    tagName: 'div',\n    properties: {id: 'charlie'},\n    children: []\n  },\n  'id'\n) // => true\n```\n\n## API\n\nThis package exports the identifier [`hasProperty`][hasproperty].\nThere is no default export.\n\n### `hasProperty(node, field)`\n\nCheck if `node`is an element and has a `field` property.\n\n###### Parameters\n\n*   `node` (`unknown`) — thing to check (typically [`Element`][element])\n*   `name` (`unknown`) - field name to check (typically `string`)\n\n###### Returns\n\nWhether `node` is an element that has a `field` property (`boolean`).\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports no additional types.\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with all maintained\nversions of Node.js.\nAs of now, that is Node.js 14.14+ and 16.0+.\nOur projects sometimes work with older versions, but this is not guaranteed.\n\n## Security\n\n`hast-util-has-property` does not change the syntax tree so there are no\nopenings for [cross-site scripting (XSS)][xss] attacks.\n\n## Related\n\n*   [`hast-util-is-element`](https://github.com/syntax-tree/hast-util-is-element)\n    — check if a node is a (certain) element\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-has-property/workflows/main/badge.svg\n\n[build]: https://github.com/syntax-tree/hast-util-has-property/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/hast-util-has-property.svg\n\n[coverage]: https://codecov.io/github/syntax-tree/hast-util-has-property\n\n[downloads-badge]: https://img.shields.io/npm/dm/hast-util-has-property.svg\n\n[downloads]: https://www.npmjs.com/package/hast-util-has-property\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/hast-util-has-property.svg\n\n[size]: https://bundlephobia.com/result?p=hast-util-has-property\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[element]: https://github.com/syntax-tree/hast#element\n\n[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting\n\n[hasproperty]: #haspropertynode-field\n","_attachments":{},"homepage":"https://github.com/syntax-tree/hast-util-has-property#readme","bugs":{"url":"https://github.com/syntax-tree/hast-util-has-property/issues"},"license":"MIT"}