{"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":{"integrity":"sha512-BKlClMmYROy9UiV03SwNmckkjn8QHVaWkqoAqzivabvdGcwNGMMMH/5szAnywmsTBUzDsU57/mFi0sp4BQO6dA==","shasum":"eb227118befd51f48858e879b7a419fc0df20497","tarball":"http://registry-npm.ywwl.com/micromark-util-html-tag-name/download/micromark-util-html-tag-name-1.1.0.tgz","fileCount":4,"unpackedSize":7799,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvu4UdzlEzIL7WvNwgU/AUWWsUK5oqeX9UhAzVhuaezgIhAISiKjB1lhZi1F5f5+LZY+IdpnbQtFK8ycHHxgXnZ5zH"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJijnlnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp+1g/+KmWt/1etGyJSAcRZLHPrhSNAppFP6Sl6dJBui8hkQgFRZF2A\r\nekO4x6WdmODBfWF+fPMExqiufMKCARLGhZskZ69gKiEXkWoMH3NgM0C008Po\r\nFDo12hx5FA/lx3du3mMyGAVyHQJby17doyOz0SbUg1uiNS5+zXTBVyT+fOmO\r\nksVk1OGtA5e7qcUGy8z3b34Tb9oeExVKzwm9mfwZfAu2Qypon7LrTIW4pXSi\r\nhWjo1XnLo/Vj2YPnK1CGlNLh17YfRsxDQYIitY4JTAn0wpTTiIKwo602wvVI\r\n9aze2paR+7TvMSw08fa8TlzJmGi+vvTEUqpSOe+F/ujTLUBZKQKJJbByIW+J\r\nr+xWD1vrETExPg3p2+CkjlllB9FjYZ55N+DJ0XI0l5CZbxywogwAketudTCj\r\nM6wEh1lzGjJU9m4cqiTpR/ASzqzBo1ptpv/Ad5TvpXJ7gf+cdW7/0qLYhMOT\r\nLzSbEGoljIRVFpOlwcSu3YJV65uz3ayA7DKe7lOBt/86V+oG/+nCZ+5JJQ7X\r\nrurU3VXp9mw4i8GcrJu0XMxlxlzrPhgx6FJyC+O4aj5JI7EFDx+MQPD18dLD\r\nQTtpfSjuOG6f22BUtr68ndXSZJUNsI9zfT7O6VA5MRT6w8VhYKlxPBtI0tDV\r\niMwptTHkgPoaEH157QwsMQeQDljYS6S0FKA=\r\n=nj/6\r\n-----END PGP SIGNATURE-----\r\n","size":2494,"noattachment":false,"key":"/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.1.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/micromark-util-html-tag-name_1.1.0_1653504359416_0.3561094896868331"},"_hasShrinkwrap":false,"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\n[micromark][] utility with list of 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    *   [`htmlBlockNames`](#htmlblocknames)\n    *   [`htmlRawNames`](#htmlrawnames)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Security](#security)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis package exposes a list of known tag names to markdown.\n\n## When should I use this?\n\nThis package is only useful if you want to build an alternative to micromark.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), 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 identifiers [`htmlBlockNames`][api-html-block-names]\nand [`htmlRawNames`][api-html-raw-names].\nThere is no default export.\n\n### `htmlBlockNames`\n\nList of lowercase HTML “block” tag names (`Array<string>`).\n\nThe list, when parsing HTML (flow), results in more relaxed rules (condition\n6\\).\nBecause they are known blocks, the HTML-like syntax doesn’t have to be strictly\nparsed.\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:\n<https://spec.commonmark.org/0.30/#html-blocks>.\n\n> 👉 **Note**: `search` was added in `CommonMark@0.31`.\n\n### `htmlRawNames`\n\nList of lowercase HTML “raw” tag names (`Array<string>`).\n\nThe list, when parsing HTML (flow), results in HTML that can include lines\nwithout exiting, until a closing tag also in this list is found (condition\n1\\).\n\nThis module is copied from:\n<https://spec.commonmark.org/0.30/#html-blocks>.\n\n> 👉 **Note**: `textarea` was added in `CommonMark@0.30`.\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports no additional types.\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with maintained\nversions of Node.js.\n\nWhen we cut a new major release, we drop support for unmaintained versions of\nNode.\nThis means we try to keep the current release line,\n`micromark-util-html-tag-name@^2`, compatible with Node.js 16.\nThis package works with `micromark@^3`.\n\n## Security\n\nThis package is safe.\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/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=micromark-util-html-tag-name\n\n[bundle-size]: https://bundlejs.com/?q=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/main/security.md\n\n[contributing]: https://github.com/micromark/.github/blob/main/contributing.md\n\n[support]: https://github.com/micromark/.github/blob/main/support.md\n\n[coc]: https://github.com/micromark/.github/blob/main/code-of-conduct.md\n\n[typescript]: https://www.typescriptlang.org\n\n[micromark]: https://github.com/micromark/micromark\n\n[api-html-block-names]: #htmlblocknames\n\n[api-html-raw-names]: #htmlrawnames\n","publish_time":1653504359586,"_cnpm_publish_time":1653504359586,"dist-tags":{"latest":"2.0.1","next":"1.0.0-beta.1"}}