{"name":"html-tag-names","version":"2.0.0","description":"List of known HTML tag names","license":"MIT","keywords":["html","tag","name","element","tagname","w3c","whatwg"],"repository":{"type":"git","url":"git+https://github.com/wooorm/html-tag-names.git"},"bugs":{"url":"https://github.com/wooorm/html-tag-names/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"},{"name":"Valerio Coltrè","email":"mister.gamer@gmail.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":"b1b40449f21522d15f12caefeb647ba064cefe14","homepage":"https://github.com/wooorm/html-tag-names#readme","_id":"html-tag-names@2.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.6.2","dist":{"integrity":"sha512-roAlpCr+F7H4z65Nz9IErzThUeDfdEKJlJoVF0FVFYRPMtHJk/kCaNJnVirk7QXnCqWkIDWEtB9zLHm8+m0UiA==","shasum":"14ccc211a0048c25bb3f021010c253ae250903e6","tarball":"http://registry-npm.ywwl.com/html-tag-names/download/html-tag-names-2.0.0.tgz","fileCount":5,"unpackedSize":7529,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXa4DCRA9TVsSAnZWagAA/7kQAItvOXnROszv6XS19/01\nW4QDcIsNRBLPNyeq0TbS8O3lA/ROrCnXrLYwA1fdFYgi1f9bneSIpuHHPkCF\nArx83P7jgkM5RMnLmlR2Wmzp1KKcNUngiQOq5t/qbzYEIZSgNv3SH3MAuxbB\nfz4lJvlv24bB/Iwh4IFLqJeYHOIQPj8jerB16VLh2AyhN5s/zt1JTHh1rauk\nHdsyd7uP+cCoFmFiAIfWLjdrAc+fwr0OrM+SppRQT3SYcYlGmXrchT/0iUN0\nRXhU4Bvi+j7cb5Po1mEOgPj6fPAFSJZkMXA465AtISfEVQuHJSTL3zMXwLDG\nJA4CAyPfhhnERVnFqkmSMmuvMndBWZ6x79jxuKc1+R/R8eSmWxGjCxLsG7vf\nc4iLSoxRV5AmTkPLBwlFV5ZpWyLFtGknYwzzvu017xDzZK5wpTRL0cLikFV1\nQvCZ1GTTp1PE4G8JEja3bOXIY7ZUM7re9aszc26pEOlpAEe3B7Ri5wI0OjkM\nMOoa9wJMqEx/fcY7fl2AdHT48FTvd0DGHuJs5utQaXYayTm1SCVRXTUnjDxa\nTF7MsZxUfZpCoQO9gyGodM3tmp+/XltPwx7aXGoCphPsI+ZNe6GLkKDWniKf\nMbflP8unmyzbC2RBFUAKIpR36UW25mNd75st39mj9cZ+Z5SqxF4XCWuAXFQq\nhbbf\r\n=FKcm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDya+SJwguFPMU/nm/fdkdpPMF5uSiWKOJ9mvVPgAqxjgIgJXvjyjY+4hb0lKFoa8HJgsgRsa3SXQ+eZ6ueXNccmIg="}],"size":3152,"noattachment":false,"key":"/html-tag-names/-/html-tag-names-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-tag-names_2.0.0_1616752130664_0.7675116978744534"},"_hasShrinkwrap":false,"readme":"# html-tag-names\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nList of known HTML 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    *   [`htmlTagNames`](#htmltagnames)\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 HTML tag names.\nIt includes ancient (for example, `nextid` and `basefont`) and modern (for\nexample, `shadow` and `template`) names from the HTML living standard.\nThe repo includes scripts to regenerate the data from the specs.\n\n## When should I use this?\n\nYou can use this package when you need to know what tag names are allowed in\nany version of HTML.\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-tag-names\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {htmlTagNames} from 'https://esm.sh/html-tag-names@2'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {htmlTagNames} from 'https://esm.sh/html-tag-names@2?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {htmlTagNames} from 'html-tag-names'\n\nconsole.log(htmlTagNames.length) // => 148\n\nconsole.log(htmlTagNames.slice(0, 20))\n```\n\nYields:\n\n```js\n[\n  'a',\n  'abbr',\n  'acronym',\n  'address',\n  'applet',\n  'area',\n  'article',\n  'aside',\n  'audio',\n  'b',\n  'base',\n  'basefont',\n  'bdi',\n  'bdo',\n  'bgsound',\n  'big',\n  'blink',\n  'blockquote',\n  'body',\n  'br'\n]\n```\n\n## API\n\nThis package exports the identifier `htmlTagNames`.\nThere is no default export.\n\n### `htmlTagNames`\n\nList of known (lowercase) HTML 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/mathml-tag-names`](https://github.com/wooorm/mathml-tag-names)\n    — list of MathML tag names\n*   [`wooorm/svg-tag-names`](https://github.com/wooorm/svg-tag-names)\n    — list of SVG tag names\n*   [`jgierer12/react-tag-names`](https://github.com/jgierer12/react-tag-names)\n    — list of React’s HTML and SVG tag names\n*   [`wooorm/svg-element-attributes`](https://github.com/wooorm/svg-element-attributes)\n    — map of SVG elements to attributes\n*   [`wooorm/html-element-attributes`](https://github.com/wooorm/html-element-attributes)\n    — map of HTML elements to attributes\n*   [`wooorm/aria-attributes`](https://github.com/wooorm/aria-attributes)\n    — list of ARIA 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-tag-names/workflows/main/badge.svg\n\n[build]: https://github.com/wooorm/html-tag-names/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/html-tag-names.svg\n\n[coverage]: https://codecov.io/github/wooorm/html-tag-names\n\n[downloads-badge]: https://img.shields.io/npm/dm/html-tag-names.svg\n\n[downloads]: https://www.npmjs.com/package/html-tag-names\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/html-tag-names.svg\n\n[size]: https://bundlephobia.com/result?p=html-tag-names\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":1616752130855,"_cnpm_publish_time":1616752130855,"dist-tags":{"latest":"2.1.0"}}