{"_id":"micromark-util-html-tag-name","_rev":"267397","name":"micromark-util-html-tag-name","description":"micromark utility with list of html tag names","dist-tags":{"latest":"1.1.0","next":"1.0.0-beta.1"},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"time":{"modified":"2023-03-27T19:09:45.000Z","created":"2021-06-07T09:26:23.522Z","1.1.0":"2022-05-25T18:45:59.586Z","1.0.0":"2021-06-22T19:04:14.922Z","1.0.0-beta.1":"2021-06-20T12:13:26.292Z","1.0.0-alpha.3":"2021-06-16T17:18:42.323Z","1.0.0-alpha.2":"2021-06-07T13:36:04.327Z","1.0.0-alpha.1":"2021-06-07T09:26:23.522Z"},"users":{},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/micromark/micromark.git#main"},"versions":{"1.1.0":{"name":"micromark-util-html-tag-name","version":"1.1.0","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},"gitHead":"d838b56d11868798997150585f60063b458cb09b","homepage":"https://github.com/micromark/micromark/tree/main#readme","_id":"micromark-util-html-tag-name@1.1.0","_nodeVersion":"18.2.0","_npmVersion":"8.9.0","dist":{"shasum":"eb227118befd51f48858e879b7a419fc0df20497","size":2494,"noattachment":false,"key":"/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/micromark-util-html-tag-name/download/micromark-util-html-tag-name-1.1.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micromark-util-html-tag-name_1.1.0_1653504359416_0.3561094896868331"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-25T21:37:18.995Z","publish_time":1653504359586,"_cnpm_publish_time":1653504359586},"1.0.0":{"name":"micromark-util-html-tag-name","version":"1.0.0","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},"homepage":"https://github.com/micromark/micromark/tree/main#readme","_id":"micromark-util-html-tag-name@1.0.0","_nodeVersion":"16.2.0","_npmVersion":"7.18.1","dist":{"shasum":"75737e92fef50af0c6212bd309bc5cb8dbd489ed","size":2365,"noattachment":false,"key":"/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/micromark-util-html-tag-name/download/micromark-util-html-tag-name-1.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micromark-util-html-tag-name_1.0.0_1624388654787_0.878285345682799"},"_hasShrinkwrap":false,"publish_time":1624388654922,"_cnpm_publish_time":1624388654922,"_cnpmcore_publish_time":"2021-12-14T05:44:03.460Z"},"1.0.0-beta.1":{"name":"micromark-util-html-tag-name","version":"1.0.0-beta.1","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},"readmeFilename":"readme.md","homepage":"https://github.com/micromark/micromark/tree/main#readme","_id":"micromark-util-html-tag-name@1.0.0-beta.1","_nodeVersion":"16.2.0","_npmVersion":"7.18.1","dist":{"shasum":"934e50e6c08aab36ddbb3271f9cfee948a4fea40","size":2374,"noattachment":false,"key":"/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.0.0-beta.1.tgz","tarball":"http://name.csiicloud.com:7001/micromark-util-html-tag-name/download/micromark-util-html-tag-name-1.0.0-beta.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micromark-util-html-tag-name_1.0.0-beta.1_1624191205931_0.40188745851016017"},"_hasShrinkwrap":false,"publish_time":1624191206292,"_cnpm_publish_time":1624191206292,"_cnpmcore_publish_time":"2021-12-14T05:44:03.644Z"},"1.0.0-alpha.3":{"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},"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":{"shasum":"2d91ef263720fc4a20c74082535e1bed456dafcd","size":2374,"noattachment":false,"key":"/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.0.0-alpha.3.tgz","tarball":"http://name.csiicloud.com:7001/micromark-util-html-tag-name/download/micromark-util-html-tag-name-1.0.0-alpha.3.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_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,"_cnpmcore_publish_time":"2021-12-14T05:44:03.845Z"},"1.0.0-alpha.2":{"name":"micromark-util-html-tag-name","version":"1.0.0-alpha.2","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},"readmeFilename":"readme.md","homepage":"https://github.com/micromark/micromark/tree/main#readme","_id":"micromark-util-html-tag-name@1.0.0-alpha.2","_nodeVersion":"16.2.0","_npmVersion":"7.15.1","dist":{"shasum":"7780bbb26d7308fa26ad7b372ce9862c230c8ddc","size":2374,"noattachment":false,"key":"/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.0.0-alpha.2.tgz","tarball":"http://name.csiicloud.com:7001/micromark-util-html-tag-name/download/micromark-util-html-tag-name-1.0.0-alpha.2.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micromark-util-html-tag-name_1.0.0-alpha.2_1623072964176_0.34740814604669246"},"_hasShrinkwrap":false,"publish_time":1623072964327,"_cnpm_publish_time":1623072964327,"_cnpmcore_publish_time":"2021-12-14T05:44:04.044Z"},"1.0.0-alpha.1":{"name":"micromark-util-html-tag-name","version":"1.0.0-alpha.1","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"}],"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},"homepage":"https://github.com/micromark/micromark/tree/main#readme","_id":"micromark-util-html-tag-name@1.0.0-alpha.1","_nodeVersion":"16.2.0","_npmVersion":"7.15.1","dist":{"shasum":"6d4fc4af6dc916c3a3c6ac6c0376df8df178f6a6","size":2365,"noattachment":false,"key":"/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.0.0-alpha.1.tgz","tarball":"http://name.csiicloud.com:7001/micromark-util-html-tag-name/download/micromark-util-html-tag-name-1.0.0-alpha.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"npm:wooorm","email":""},{"name":"wooorm","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/micromark-util-html-tag-name_1.0.0-alpha.1_1623057983404_0.29513248988046636"},"_hasShrinkwrap":false,"publish_time":1623057983522,"_cnpm_publish_time":1623057983522,"_cnpmcore_publish_time":"2021-12-14T05:44:04.240Z"}},"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\nThis package is [ESM only][esm].\nIn Node.js (version 12.20+, 14.14+, 16.0+, 18.0+), install with [npm][]:\n\n```sh\nnpm install micromark-util-html-tag-name\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {htmlBlockNames, htmlRawNames} from 'https://esm.sh/micromark-util-html-tag-name@1'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {htmlBlockNames, htmlRawNames} from 'https://esm.sh/micromark-util-html-tag-name@1?bundle'\n</script>\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 (`Array<string>`) which when parsing HTML\n(flow), result in more relaxed rules (condition 6): because they are known\nblocks, the HTML-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.30/#html-blocks>.\n\n### `htmlRawNames`\n\nList of lowercase HTML tag names (`Array<string>`) which when parsing HTML\n(flow), result in HTML that can include lines w/o exiting, until a closing tag\nalso in this list is found (condition 1).\n\nThis is copied from:\n<https://spec.commonmark.org/0.30/#html-blocks>.\n\nNote that `textarea` was added in `CommonMark@0.30`.\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[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esmsh]: https://esm.sh\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","_attachments":{},"homepage":"https://github.com/micromark/micromark/tree/main#readme","bugs":{"url":"https://github.com/micromark/micromark/issues"},"license":"MIT"}