{"name":"html-void-elements","version":"1.0.5","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"}],"main":"index.json","dependencies":{},"devDependencies":{"bail":"^1.0.0","browserify":"^16.0.0","concat-stream":"^2.0.0","hast-util-select":"^3.0.0","hast-util-to-string":"^1.0.0","prettier":"^1.0.0","rehype-parse":"^6.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","tape":"^4.0.0","tinyify":"^2.0.0","unified":"^8.0.0","xo":"^0.25.0"},"scripts":{"generate":"node build","format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify . -s htmlVoidElements > html-void-elements.js","build-mangle":"browserify . -s htmlVoidElements -p tinyify > html-void-elements.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test":"npm run format && npm run build && npm run test-api"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"ignores":["html-void-elements.min.js"]},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"4e87485f58b10229e0f4fc327bc0a39488d0d650","homepage":"https://github.com/wooorm/html-void-elements#readme","_id":"html-void-elements@1.0.5","_nodeVersion":"13.0.1","_npmVersion":"6.13.6","dist":{"integrity":"sha512-uE/TxKuyNIcx44cIWnjr/rfIATDH7ZaOMmstu0CwhFG1Dunhlp4OC6/NMbhiwoq5BpW0ubi303qnEk/PZj614w==","shasum":"ce9159494e86d95e45795b166c2021c2cfca4483","tarball":"http://registry-npm.ywwl.com/html-void-elements/download/html-void-elements-1.0.5.tgz","fileCount":4,"unpackedSize":4775,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKhsuCRA9TVsSAnZWagAAp0cP/0euOoke6dJ5Jqk9rZzj\nXhmdlf+1GQLXMcCMFNEkMPWmrjkW3megoD+oO3k3KMpXfZHbKCRcGpFUfvRU\nWfT1JzJqQaNFMIaC3gB98i8WH/nY+M7AF+YSU2Oi6CXxmGrXthRxaEZH7p4i\nfr08pKsVNzpJyPFp4K0FqXGZP1nBTXKKBeaEuLL2aLQTDhVS0xvI5e0/a0EO\nbu6WT3cGuDXSpL8HHhGQuhsPceIsAWhKFh1PUC67/M+dvV8xmFfZlv7SkpbR\n131kbOE1EyrmVa69rVYtQ4T8cN0vPD4r6K6Wzvr6xA+brv1cjXnYOqE40If8\nx4EJ+A9lXC4rsQe3gX7SPOkuQUYEQSDTJ+y7StVZ1zbU1tsKNSGPatTk1lmF\nwf5jUr5s/52rwKr+C0MOmnT3DfaVlkHI3m3pUpAusY/tZKqK8BHNtwihXRzR\nc3Nz62d2MTSdVTh34NcaG/5hkso0YwTmd5vjS7lxKXU0l7Z6dllhtj6gfhnU\nDE7NR+3RSwcU4VLszFfjcHlbBgmXUY3OsQov9x5YtpmC5A/9dsDHCXhd/iy4\nph63gW2Y9PbOnUTESF5ohBf9jA0N0opx8Ik2ScPkI9+8axCFsf0LeSwVsg1y\nsrkIGb3/4SMvXhZJtHbA4vt/vZvAeKgujesBxf+Mq7wFNCKd35GTZNEBa0qY\nNnpD\r\n=glpj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDM3bSyv/fdfmhr9bONe0+5h8mTLW5WhyigrhGt8uVY5gIhAKOeq6dTjdyaG12r02PP7sO2jwNMlfeNbywJfrwdBZLm"}],"size":2297,"noattachment":false,"key":"/html-void-elements/-/html-void-elements-1.0.5.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-void-elements_1.0.5_1579817774354_0.6375501148540546"},"_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":1579817774466,"_cnpm_publish_time":1579817774466,"dist-tags":{"latest":"3.0.0"}}