{"name":"html-whitespace-sensitive-tag-names","version":"2.0.0","description":"List of whitespace sensitive HTML tag names","license":"MIT","keywords":["html","whitespace","white","space","sensitive","tagname","tag","name"],"repository":{"type":"git","url":"git+https://github.com/rehypejs/rehype-minify.git#main"},"bugs":{"url":"https://github.com/rehypejs/rehype-minify/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"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","scripts":{"build":"rimraf \"*.d.ts\" && tsc && type-coverage"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"homepage":"https://github.com/rehypejs/rehype-minify/tree/main#readme","_id":"html-whitespace-sensitive-tag-names@2.0.0","_nodeVersion":"16.2.0","_npmVersion":"7.18.1","dist":{"integrity":"sha512-SQdIvTTtnHAx72xGUIUudvVOCjeWvV1U7rvSFnNGxTGRw3ZC7RES4Gw6dm1nMYD60TXvm6zjk/bWqgNc5pjQaw==","shasum":"80c7512c969de90c94279641068fafb5fa6da468","tarball":"http://registry-npm.ywwl.com/html-whitespace-sensitive-tag-names/download/html-whitespace-sensitive-tag-names-2.0.0.tgz","fileCount":4,"unpackedSize":4814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBvCOCRA9TVsSAnZWagAApDUP/RsmsycUzwHvzeJlz3NI\nq7ldSXYIfCe5+9az/gNDmOssh2wi6ZRi14PcBKdd4s3hj9zz+wdkrohWrH4i\nIP+lXC42lHmGzpnxJ02mKszL78f4SpA1rgbT7hYrBhCMRcNulKn8sWv6UTm5\n5T5CdW91dLvKghBaZLmc/hC488FhPDmTMywMLYQ7RznntVVVosSQcxlKANVU\np+PxRsZ/RlhDA3uPP2a5sISok2OzIIw/qO1Vm20ggBAh6W0PdwZX4dSaGTsg\ndb84ebhO/VEtNjYdbPczqwfOqqYuoJuRZ8u18gMUt4t5L2RcAtO4/jcHlQXg\neNlWR5yutDkuhDZMo1/A6dJt3Y3Tjx5RAvKyOYXXBraFg3EIlnjhu0itwwij\nWA+tQdHQQeBV9okYiHP22tIAy/qViSOlw1EOW0iZ8eWF+7nAAHtcZp79iebP\nd2mlricF+lI5ZdCkPcAyqcdOBeJ+tFS53FAtU1eI3IVPLH7k7fmcz2oxn99t\nFy9XvfQG0KmVF6xqCFOhyD8kH4j6FQyP/O7R7UGwgeWLJRR49UBSxMiaSWyN\ngpqp8WyIyzlZw/jgwRGDEg3i3e2unuonQ694LXQ2Y19qvmt79vmTkDftdwjx\nw2P6bC7iPOvBZ82IJqsATYPORNgqOQ4Np+qwtX/BykERUobYeelHT4vjiWCG\n8VKb\r\n=vEPW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCciyu1spW4fGbiGyOOessalNPgItGGnwvbmbSz8CIn5AIhAMSp25kc5f+q0UpjFL8Dqai4+FESt7Qf1iqqdsGrhIg9"}],"size":1655,"noattachment":false,"key":"/html-whitespace-sensitive-tag-names/-/html-whitespace-sensitive-tag-names-2.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-whitespace-sensitive-tag-names_2.0.0_1627844750058_0.5820725941001503"},"_hasShrinkwrap":false,"readme":"<!--This file is generated-->\n\n# html-whitespace-sensitive-tag-names\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n[![Sponsors][funding-sponsors-badge]][funding]\n[![Backers][funding-backers-badge]][funding]\n[![Chat][chat-badge]][chat]\n\nUtility with info on whitespace sensitive elements.\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    *   [`whitespaceSensitiveTagNames`](#whitespacesensitivetagnames)\n*   [Syntax](#syntax)\n*   [Syntax tree](#syntax-tree)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Security](#security)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis package contains info on which HTML elements are whitespace sensitive.\n\n## When should I use this?\n\nThis is only really needed when minifying HTML.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install html-whitespace-sensitive-tag-names\n```\n\nIn Deno with [`esm.sh`][esm-sh]:\n\n```js\nimport {whitespaceSensitiveTagNames} from 'https://esm.sh/html-whitespace-sensitive-tag-names@3'\n```\n\nIn browsers with [`esm.sh`][esm-sh]:\n\n```html\n<script type=\"module\">\n  import {whitespaceSensitiveTagNames} from 'https://esm.sh/html-whitespace-sensitive-tag-names@3?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {whitespaceSensitiveTagNames} from 'html-whitespace-sensitive-tag-names'\n\nwhitespaceSensitiveTagNames\n//=> ['pre', 'script', 'style', 'textarea']\n```\n\n## API\n\nThis package exports the identifier\n`whitespaceSensitiveTagNames`.\nThere is no default export.\n\n### `whitespaceSensitiveTagNames`\n\nList of HTML tag names that are whitespace sensitive (`Array<string>`).\n\n## Syntax\n\nHTML is parsed according to WHATWG HTML (the living standard), which is also\nfollowed by all browsers.\n\n## Syntax tree\n\nThe syntax tree used is [hast][].\n\n## Types\n\nThis package is fully typed with [TypeScript][].\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,\n`html-whitespace-sensitive-tag-names@^3`,\ncompatible with Node.js 16.\n\n## Security\n\nAs **rehype** works on HTML and improper use of HTML can open you up to a\n[cross-site scripting (XSS)][xss] attack, use of rehype can also be unsafe.\nUse [`rehype-sanitize`][rehype-sanitize] to make the tree safe.\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`rehypejs/.github`][health] for ways\nto get started.\nSee [`support.md`][support] for ways to get help.\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[author]: https://wooorm.com\n\n[build]: https://github.com/rehypejs/rehype-minify/actions\n\n[build-badge]: https://github.com/rehypejs/rehype-minify/workflows/main/badge.svg\n\n[chat]: https://github.com/rehypejs/rehype/discussions\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[coc]: https://github.com/rehypejs/.github/blob/main/code-of-conduct.md\n\n[contributing]: https://github.com/rehypejs/.github/blob/main/contributing.md\n\n[coverage]: https://codecov.io/github/rehypejs/rehype-minify\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/rehypejs/rehype-minify.svg\n\n[downloads]: https://www.npmjs.com/package/html-whitespace-sensitive-tag-names\n\n[downloads-badge]: https://img.shields.io/npm/dm/html-whitespace-sensitive-tag-names.svg\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esm-sh]: https://esm.sh\n\n[funding]: https://opencollective.com/unified\n\n[funding-backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[funding-sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[hast]: https://github.com/syntax-tree/hast\n\n[health]: https://github.com/rehypejs/.github\n\n[license]: https://github.com/rehypejs/rehype-minify/blob/main/license\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[rehype-sanitize]: https://github.com/rehypejs/rehype-sanitize\n\n[size]: https://bundlejs.com/?q=html-whitespace-sensitive-tag-names\n\n[size-badge]: https://img.shields.io/bundlejs/size/html-whitespace-sensitive-tag-names\n\n[support]: https://github.com/rehypejs/.github/blob/main/support.md\n\n[typescript]: https://www.typescriptlang.org\n\n[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting\n","publish_time":1627844750196,"_cnpm_publish_time":1627844750196,"dist-tags":{"latest":"3.0.1"}}