{"name":"html-void-elements","version":"2.0.0","description":"List of known void HTML elements","license":"MIT","keywords":["html","void","tag","name","element","tagname","w3c","whatwg"],"repository":{"type":"git","url":"git+https://github.com/wooorm/html-void-elements.git"},"bugs":{"url":"https://github.com/wooorm/html-void-elements/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"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/concat-stream":"^1.0.0","@types/node":"^14.0.0","@types/tape":"^4.0.0","bail":"^2.0.0","c8":"^7.0.0","concat-stream":"^2.0.0","hast-util-select":"^4.0.0","hast-util-to-string":"^1.0.0","prettier":"^2.0.0","rehype-parse":"^7.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","unified":"^9.0.0","xo":"^0.38.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","generate":"node build","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":{"import/no-mutable-exports":"off","no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"7d12fb8936880633195813aef087dd438a7f2a23","homepage":"https://github.com/wooorm/html-void-elements#readme","_id":"html-void-elements@2.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.6.2","dist":{"integrity":"sha512-4OYzQQsBt0G9bJ/nM9/DDsjm4+fVdzAaPJJcWk5QwA3GIAPxQEeOR0rsI8HbDHQz5Gta8pVvGnnTNSbZVEVvkQ==","shasum":"ea71bae0dd33de675cdda3c4ace1bc7584bb1071","tarball":"http://registry-npm.ywwl.com/html-void-elements/download/html-void-elements-2.0.0.tgz","fileCount":5,"unpackedSize":5465,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXgQ2CRA9TVsSAnZWagAAEf4P/RpLRN1NyoXMK9RaewPo\nB8LzASz/Z/K4xgIUVpx2l1X8oMd6oDhc71omN/GaAtfoqEd07JWlfigovCzy\ngghKy6HypdzIzT0c+SFzF7sNWTw5OJWYhhFxVlu/M/4MgZNhOGsS/MkxC5RN\nKDmYOLoXE/zszLuxLxCrDGv67seXinJMi5YRuaj+GUvKZxKVaWWgQCMXJInl\ncmt5Zz+wRkbFNb4PAET4BQJ4E2H797Y5AxX6fB7HU0V3S/Jzc/HN9HVMYtuY\nXmuHu2aEURvF2AIWb418St81YbT2sFv7sb46z34A5iC0ZI2vOif7E/f01YgX\n38cRLB3jnllraFsrC9Undp55f+zhVqpBZlS0CTsuuwzebrcySAjbW1HrRzTo\n+MoGcLLqhYxajjtOdCt5EFi5UGHAJhpP3bmaqJAtcoRCfD5DJO+OJqVxxXOL\npBTUXc4MjltX2uKk9MJbcP1MdmvZcVt4H54mMRPIGWdJS1yMQHC7Gwed0jEJ\np5ZhJ2uHfmv44s8qXfEuTd2c5l+9V4B3skXmomouoX+3qcHoYM+DiKi/cYT+\nsA/CkjT8cviupA/A27pBlA0iPabkpjCq0V02v11G3QX60H9ArIRPalOxxcrL\nYw4/1AlQlfSJkG9HfyTTdm8vKkWOhj+C7UsR8I8xprRieTjfiTlIPS42kozH\nrYH+\r\n=B305\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2mxGZnMrj6Hi6705hOYt3LlxOmhoXsu8GnYodrVtOoQIga++akC+2WuQbBnkIcbALPP7tCWU3uR0xGWsU3LjO5Ak="}],"size":2472,"noattachment":false,"key":"/html-void-elements/-/html-void-elements-2.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-void-elements_2.0.0_1616774198490_0.6131257429181511"},"_hasShrinkwrap":false,"readme":"# html-void-elements\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nList of HTML void tag names.\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    *   [`htmlVoidElements`](#htmlvoidelements)\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 is a list of all void tag names according to HTML.\n\n> 👉 **Note**: includes ancient (such as `basefont` and `bgsound`) tag names\n> too.\n\n## When should I use this?\n\nYou can use this when you’re writing HTML parsers, minifiers, or compilers.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 14.14+, 16.0+), install with [npm][]:\n\n```sh\nnpm install html-void-elements\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {htmlVoidElements} from 'https://esm.sh/html-void-elements@2'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {htmlVoidElements} from 'https://esm.sh/html-void-elements@2?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {htmlVoidElements} from 'html-void-elements'\n\nconsole.log(htmlVoidElements)\n```\n\nYields:\n\n```js\n[\n  'area',\n  'base',\n  'basefont',\n  'bgsound',\n  'br',\n  'col',\n  'command',\n  'embed',\n  'frame',\n  'hr',\n  'image',\n  'img',\n  'input',\n  'keygen',\n  'link',\n  'meta',\n  'param',\n  'source',\n  'track',\n  'wbr'\n]\n```\n\n## API\n\nThis package exports the identifier `htmlVoidElements`.\nThere is no default export.\n\n### `htmlVoidElements`\n\nList of HTML void tag names (`Array<string>`).\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports no additional types.\n\n## Compatibility\n\nThis package is at least compatible with all maintained versions of Node.js.\nAs of now, that is Node.js 14.14+ and 16.0+.\nIt also works in Deno and modern browsers.\n\n## Security\n\nThis package is safe.\n\n## Related\n\n*   [`wooorm/html-tag-names`](https://github.com/wooorm/html-tag-names)\n    — list of HTML tag names\n*   [`wooorm/html-element-attributes`](https://github.com/wooorm/html-element-attributes)\n    — map of HTML elements to attributes\n\n## Contribute\n\nYes please!\nSee [How to Contribute to Open Source][contribute].\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definition -->\n\n[build-badge]: https://github.com/wooorm/html-void-elements/workflows/main/badge.svg\n\n[build]: https://github.com/wooorm/html-void-elements/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/html-void-elements.svg\n\n[coverage]: https://codecov.io/github/wooorm/html-void-elements\n\n[downloads-badge]: https://img.shields.io/npm/dm/html-void-elements.svg\n\n[downloads]: https://www.npmjs.com/package/html-void-elements\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/html-void-elements.svg\n\n[size]: https://bundlephobia.com/result?p=html-void-elements\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esmsh]: https://esm.sh\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[typescript]: https://www.typescriptlang.org\n\n[contribute]: https://opensource.guide/how-to-contribute/\n","publish_time":1616774198639,"_cnpm_publish_time":1616774198639,"dist-tags":{"latest":"3.0.0"}}