{"name":"micromark-util-html-tag-name","version":"1.0.0-alpha.3","description":"micromark utility with list of html tag names","license":"MIT","keywords":["micromark","util","utility","html","tag","name"],"repository":{"type":"git","url":"git+https://github.com/micromark/micromark.git#main"},"bugs":{"url":"https://github.com/micromark/micromark/issues"},"funding":[{"type":"GitHub Sponsors","url":"https://github.com/sponsors/unifiedjs"},{"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","exports":"./index.js","scripts":{"build":"rimraf \"*.d.ts\" && tsc && type-coverage"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"readme":"# micromark-util-html-tag-name\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][bundle-size-badge]][bundle-size]\n[![Sponsors][sponsors-badge]][opencollective]\n[![Backers][backers-badge]][opencollective]\n[![Chat][chat-badge]][chat]\n\nmicromark utility with list of html tag names.\n\n## Contents\n\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`htmlBlockNames`](#htmlblocknames)\n    *   [`htmlRawNames`](#htmlrawnames)\n*   [Security](#security)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## Install\n\n[npm][]:\n\n```sh\nnpm install micromark-util-html-tag-name\n```\n\n## Use\n\n```js\nimport {htmlBlockNames, htmlRawNames} from 'micromark-util-html-tag-name'\n\nconsole.log(htmlBlockNames) // ['address', 'article', …]\nconsole.log(htmlRawNames) // ['pre', 'script', …]\n```\n\n## API\n\nThis module exports the following identifiers: `htmlBlockNames`,\n`htmlRawNames`.\nThere is no default export.\n\n### `htmlBlockNames`\n\nList of lowercase HTML tag names (`string[]`) which when parsing HTML (flow),\nresult in more relaxed rules (condition 6): because they are known blocks, the\nHTML-like syntax doesn’t have to be strictly parsed.\nFor tag names not in this list, a more strict algorithm (condition 7) is used\nto detect whether the HTML-like syntax is seen as HTML (flow) or not.\n\nThis is copied from: <https://spec.commonmark.org/0.29/#html-blocks>.\n\n### `htmlRawNames`\n\nList of lowercase HTML tag names (`string[]`) which when parsing HTML (flow),\nresult in HTML that can include lines w/o exiting, until a closing tag also in\nthis list is found (condition 1).\n\nThis is copied from:\n<https://spec.commonmark.org/0.29/#html-blocks>.\n\nNote that `textarea` is not available in `CommonMark@0.29` but has been merged\nto the primary branch and is slated to be released in the next release of\nCommonMark.\n\n## Security\n\nSee [`security.md`][securitymd] in [`micromark/.github`][health] for how to\nsubmit a security report.\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`micromark/.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, organisation, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/micromark/micromark/workflows/main/badge.svg\n\n[build]: https://github.com/micromark/micromark/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/micromark/micromark.svg\n\n[coverage]: https://codecov.io/github/micromark/micromark\n\n[downloads-badge]: https://img.shields.io/npm/dm/micromark-util-html-tag-name.svg\n\n[downloads]: https://www.npmjs.com/package/micromark-util-html-tag-name\n\n[bundle-size-badge]: https://img.shields.io/bundlephobia/minzip/micromark-util-html-tag-name.svg\n\n[bundle-size]: https://bundlephobia.com/result?p=micromark-util-html-tag-name\n\n[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[opencollective]: https://opencollective.com/unified\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[chat]: https://github.com/micromark/micromark/discussions\n\n[license]: https://github.com/micromark/micromark/blob/main/license\n\n[author]: https://wooorm.com\n\n[health]: https://github.com/micromark/.github\n\n[securitymd]: https://github.com/micromark/.github/blob/HEAD/security.md\n\n[contributing]: https://github.com/micromark/.github/blob/HEAD/contributing.md\n\n[support]: https://github.com/micromark/.github/blob/HEAD/support.md\n\n[coc]: https://github.com/micromark/.github/blob/HEAD/code-of-conduct.md\n","readmeFilename":"readme.md","homepage":"https://github.com/micromark/micromark/tree/main#readme","_id":"micromark-util-html-tag-name@1.0.0-alpha.3","_nodeVersion":"16.2.0","_npmVersion":"7.16.0","dist":{"integrity":"sha512-ks3CDdtx+39IaqoBgPTy0EF38HrxC5zrWT10npi2L5kQVqiHml/qy00BsXJ3ixlMJ4O7zN4Ce/ReJnfWll4xLA==","shasum":"2d91ef263720fc4a20c74082535e1bed456dafcd","tarball":"http://registry-npm.ywwl.com/micromark-util-html-tag-name/download/micromark-util-html-tag-name-1.0.0-alpha.3.tgz","fileCount":4,"unpackedSize":7639,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyjJyCRA9TVsSAnZWagAAzucQAIhETeLQ7nTo+Jx4lvqr\n6R2XQ2i5WMQVfNT8kkXzbRg2veBpyvfvhLhUQCUfM8mEiaGz1g8BZMybQ9C3\nV4ApqGXqx4ny0VwQagpLfrTFDuJMrP0LiceX5kTB22UL8IhNxU23fdYegX2R\nc9uf3ivYWHngbBxNesRa9uodM+c+H4yIfaSURmCpTum/9evkv5ux1bPu4c6E\nqI4oiTuuCh0OKsGmesaM5WeqLzW1Ln6ZhqeOt9wvQsum73+rEv0w5/F+4qRG\n534/Rco7Zs8ppzAUazLWovHvi4xMn0n80MhrttpgFHoHgqIpOqxK+a1sOfyd\nxtXvc57jEYHuJ6pI5UaV3L9MM/X2MppFsCj6yHjTLVm8L+004ZaubRY4+B+T\nzsbVQypMFk1Si2/DwpF5nS64cw54EKD/doNcGJQ5hIk92oS3XsLsSRFud0FI\nfa5/+TFhCEagzlZ/29c7jMRyVMzYD0abZp6SEzpz1B6cKTEy2cSpUhqFY1xB\nbzag5IprNv8YvNgP7DPySrGy4EV8xGfzBgMGfKbFVMd6NNxHqNerTkjgZXkM\nwToUUFrAqUyr60M5EGdEGdwcO10EuSouaWjHQqf0lZMPckiM52baF+mUa5KC\n+CZ5gwxeCJYEOL+0uy5+HVw6a5VM/scdRZkw6snpcKCLvhzf48sYyVdNOkri\nmBO7\r\n=KV1p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF0Bs0LfG6DYO7QxtBbap2xQRBy+VyrMVKCuN/ILiw6zAiEA9Rx6r3Fz6wSArq5/54Zn3ZaDqQeFp7bOF3ZmIfd+eaw="}],"size":2374,"noattachment":false,"key":"/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.0.0-alpha.3.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micromark-util-html-tag-name_1.0.0-alpha.3_1623863922161_0.5050164619510418"},"_hasShrinkwrap":false,"publish_time":1623863922323,"_cnpm_publish_time":1623863922323,"dist-tags":{"latest":"2.0.1","next":"1.0.0-beta.1"}}