{"_id":"hast-util-whitespace","_rev":"264495","name":"hast-util-whitespace","description":"hast utility to check if a node is inter-element whitespace","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"wooorm","email":""}],"time":{"modified":"2023-03-27T18:53:38.000Z","created":"2016-04-15T15:56:00.327Z","2.0.1":"2023-01-06T12:08:22.786Z","2.0.0":"2021-04-26T15:14:50.244Z","1.0.4":"2020-02-27T19:24:53.369Z","1.0.3":"2019-05-26T07:34:17.362Z","1.0.2":"2018-11-07T19:56:00.085Z","1.0.1":"2018-06-17T16:12:53.925Z","1.0.0":"2016-04-15T15:56:00.327Z"},"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-whitespace.git"},"versions":{"2.0.1":{"name":"hast-util-whitespace","version":"2.0.1","description":"hast utility to check if a node is inter-element whitespace","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","inter","element","inter-element","white-space","whitespace"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-whitespace.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-whitespace/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":"9d5e793c0d8e099581cb6d49056672e34f76ee01","homepage":"https://github.com/syntax-tree/hast-util-whitespace#readme","_id":"hast-util-whitespace@2.0.1","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"shasum":"0ec64e257e6fc216c7d14c8a1b74d27d650b4557","size":4047,"noattachment":false,"key":"/hast-util-whitespace/-/hast-util-whitespace-2.0.1.tgz","tarball":"http://name.csiicloud.com:7001/hast-util-whitespace/download/hast-util-whitespace-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-whitespace_2.0.1_1673006902624_0.6260609618630901"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-06T12:19:29.644Z","publish_time":1673006902786,"_cnpm_publish_time":1673006902786},"2.0.0":{"name":"hast-util-whitespace","version":"2.0.0","description":"hast utility to check if a node is inter-element whitespace","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","inter","element","inter-element","white-space","whitespace"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-whitespace.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-whitespace/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":"ee264d6278d0e25eea3fbc41ccf13e9b8c06026c","homepage":"https://github.com/syntax-tree/hast-util-whitespace#readme","_id":"hast-util-whitespace@2.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.10.0","dist":{"shasum":"4fc1086467cc1ef5ba20673cb6b03cec3a970f1c","size":3538,"noattachment":false,"key":"/hast-util-whitespace/-/hast-util-whitespace-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/hast-util-whitespace/download/hast-util-whitespace-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-whitespace_2.0.0_1619450090105_0.8098944069392764"},"_hasShrinkwrap":false,"publish_time":1619450090244,"_cnpm_publish_time":1619450090244,"_cnpmcore_publish_time":"2021-12-15T16:51:53.073Z"},"1.0.4":{"name":"hast-util-whitespace","version":"1.0.4","description":"hast utility to check if a node is inter-element whitespace","license":"MIT","keywords":["unist","hast","hast-util","util","utility","html","inter","element","inter-element","white-space","whitespace"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-whitespace.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-whitespace/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 hastUtilWhitespace > hast-util-whitespace.js","build-mangle":"browserify . -s hastUtilWhitespace -p tinyify > hast-util-whitespace.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-whitespace.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"0894fbb44252a0551b4b2e046fed8d644ac6155d","homepage":"https://github.com/syntax-tree/hast-util-whitespace#readme","_id":"hast-util-whitespace@1.0.4","_nodeVersion":"13.9.0","_npmVersion":"6.13.7","dist":{"shasum":"e4fe77c4a9ae1cb2e6c25e02df0043d0164f6e41","size":2932,"noattachment":false,"key":"/hast-util-whitespace/-/hast-util-whitespace-1.0.4.tgz","tarball":"http://name.csiicloud.com:7001/hast-util-whitespace/download/hast-util-whitespace-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-whitespace_1.0.4_1582831493233_0.7466602403658138"},"_hasShrinkwrap":false,"publish_time":1582831493369,"_cnpm_publish_time":1582831493369,"_cnpmcore_publish_time":"2021-12-15T16:51:53.600Z"},"1.0.3":{"name":"hast-util-whitespace","version":"1.0.3","description":"Check whether a node is inter-element whitespace","license":"MIT","keywords":["hast","html","inter","element","inter-element","white-space","whitespace"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-whitespace.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-whitespace/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 hastUtilWhitespace > hast-util-whitespace.js","build-mangle":"browserify . -s hastUtilWhitespace -p tinyify > hast-util-whitespace.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-whitespace.js"]},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"ade6aab39e0d5eb1e72906db02e0a9452ff40810","homepage":"https://github.com/syntax-tree/hast-util-whitespace#readme","_id":"hast-util-whitespace@1.0.3","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"shasum":"6d161b307bd0693b5ec000c7c7e8b5445109ee34","size":2805,"noattachment":false,"key":"/hast-util-whitespace/-/hast-util-whitespace-1.0.3.tgz","tarball":"http://name.csiicloud.com:7001/hast-util-whitespace/download/hast-util-whitespace-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-whitespace_1.0.3_1558856057189_0.11126287523978617"},"_hasShrinkwrap":false,"publish_time":1558856057362,"_cnpm_publish_time":1558856057362,"_cnpmcore_publish_time":"2021-12-15T16:51:53.823Z"},"1.0.2":{"name":"hast-util-whitespace","version":"1.0.2","description":"Check whether a node is inter-element whitespace","license":"MIT","keywords":["hast","html","inter","element","inter-element","white-space","whitespace"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-whitespace.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-whitespace/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 hastUtilWhitespace > hast-util-whitespace.js","build-mangle":"browserify . -s hastUtilWhitespace -p tinyify > hast-util-whitespace.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":"4d47214579e83422f40f9cec30388677ac120a9f","homepage":"https://github.com/syntax-tree/hast-util-whitespace#readme","_id":"hast-util-whitespace@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"c97153a3fbc9091a14fd823830a47724e7a1da99","size":2658,"noattachment":false,"key":"/hast-util-whitespace/-/hast-util-whitespace-1.0.2.tgz","tarball":"http://name.csiicloud.com:7001/hast-util-whitespace/download/hast-util-whitespace-1.0.2.tgz"},"maintainers":[{"name":"wooorm","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-whitespace_1.0.2_1541620559927_0.38789271069707"},"_hasShrinkwrap":false,"publish_time":1541620560085,"_cnpm_publish_time":1541620560085,"_cnpmcore_publish_time":"2021-12-15T16:51:54.040Z"},"1.0.1":{"name":"hast-util-whitespace","version":"1.0.1","description":"Check whether a node is inter-element whitespace","license":"MIT","keywords":["hast","html","inter","element","inter-element","white-space","whitespace"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/hast-util-whitespace.git"},"bugs":{"url":"https://github.com/syntax-tree/hast-util-whitespace/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 hastUtilWhitespace > hast-util-whitespace.js","build-mangle":"esmangle hast-util-whitespace.js > hast-util-whitespace.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":"554b36203e3e993fb6cf6b8b2db3c29f53c1926f","homepage":"https://github.com/syntax-tree/hast-util-whitespace#readme","_id":"hast-util-whitespace@1.0.1","_npmVersion":"6.1.0","_nodeVersion":"10.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"d67da2c87637b1ce1d85dd15b270ba057930149a","size":2577,"noattachment":false,"key":"/hast-util-whitespace/-/hast-util-whitespace-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/hast-util-whitespace/download/hast-util-whitespace-1.0.1.tgz"},"maintainers":[{"name":"wooorm","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hast-util-whitespace_1.0.1_1529251973810_0.8841288621445902"},"_hasShrinkwrap":false,"publish_time":1529251973925,"_cnpm_publish_time":1529251973925,"_cnpmcore_publish_time":"2021-12-15T16:51:54.261Z"},"1.0.0":{"name":"hast-util-whitespace","version":"1.0.0","description":"Check whether a node is inter-element whitespace","license":"MIT","keywords":["hast","html","inter","element","inter-element","white-space","whitespace"],"dependencies":{},"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/wooorm/hast-util-whitespace.git"},"bugs":{"url":"https://github.com/wooorm/hast-util-whitespace/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 hastUtilWhitespace > hast-util-whitespace.js","build-mangle":"esmangle hast-util-whitespace.js > hast-util-whitespace.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":"8d331c3c94ca2fa1d890df749b637ec55526ff50","homepage":"https://github.com/wooorm/hast-util-whitespace#readme","_id":"hast-util-whitespace@1.0.0","_shasum":"bd096919625d2936e1ff17bc4df7fd727f17ece9","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"bd096919625d2936e1ff17bc4df7fd727f17ece9","size":2679,"noattachment":false,"key":"/hast-util-whitespace/-/hast-util-whitespace-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/hast-util-whitespace/download/hast-util-whitespace-1.0.0.tgz"},"maintainers":[{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/hast-util-whitespace-1.0.0.tgz_1460735757820_0.2967118821106851"},"directories":{},"publish_time":1460735760327,"_hasShrinkwrap":false,"_cnpm_publish_time":1460735760327,"_cnpmcore_publish_time":"2021-12-15T16:51:54.475Z"}},"readme":"# hast-util-whitespace\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 [*inter-element whitespace*][spec].\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    *   [`whitespace(thing)`](#whitespacething)\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 whitespace according to\nHTML.\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-whitespace\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {whitespace} from 'https://esm.sh/hast-util-whitespace@2'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {whitespace} from 'https://esm.sh/hast-util-whitespace@2?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {whitespace} from 'hast-util-whitespace'\n\nwhitespace({\n  type: 'element',\n  tagName: 'div',\n  children: []\n}) // => false\n\nwhitespace({\n  type: 'text',\n  value: '\\t  \\n'\n}) // => true\n\nwhitespace({\n  type: 'text',\n  value: '  text\\f'\n}) // => false\n```\n\n## API\n\nThis package exports the identifier [`whitespace`][whitespace].\nThere is no default export.\n\n### `whitespace(thing)`\n\nCheck if the given value is [*inter-element whitespace*][spec].\n\n###### Parameters\n\n*   `thing` (`unknown`, optional)\n    — thing to check (typically [`Node`][node] or `string`)\n\n###### Returns\n\nWhether the `value` is inter-element whitespace (`boolean`): consisting of zero\nor more of space, tab (`\\t`), line feed (`\\n`), carriage return (`\\r`), or form\nfeed (`\\f`).\nIf a node is passed it must be a [`Text`][text] node, whose `value` field is\nchecked.\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-whitespace` 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-is-element`](https://github.com/syntax-tree/hast-util-is-element)\n    — check if a node is a (certain) element\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-transparent`](https://github.com/syntax-tree/hast-util-transparent)\n    — check if a node is a transparent 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-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-embedded`](https://github.com/syntax-tree/hast-util-embedded)\n    — check if a node is an embedded 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-interactive`](https://github.com/syntax-tree/hast-util-interactive)\n    — check if a node is interactive\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-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/HEAD/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-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\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-whitespace/workflows/main/badge.svg\n\n[build]: https://github.com/syntax-tree/hast-util-whitespace/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/hast-util-whitespace.svg\n\n[coverage]: https://codecov.io/github/syntax-tree/hast-util-whitespace\n\n[downloads-badge]: https://img.shields.io/npm/dm/hast-util-whitespace.svg\n\n[downloads]: https://www.npmjs.com/package/hast-util-whitespace\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/hast-util-whitespace.svg\n\n[size]: https://bundlephobia.com/result?p=hast-util-whitespace\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[spec]: https://html.spec.whatwg.org/multipage/dom.html#inter-element-whitespace\n\n[node]: https://github.com/syntax-tree/hast#nodes\n\n[text]: https://github.com/syntax-tree/hast#text\n\n[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting\n\n[whitespace]: #whitespacething\n","_attachments":{},"homepage":"https://github.com/syntax-tree/hast-util-whitespace#readme","bugs":{"url":"https://github.com/syntax-tree/hast-util-whitespace/issues"},"license":"MIT"}