{"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"bugs":{"url":"https://github.com/wooorm/mathml-tag-names/issues"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"description":"List of known MathML tag names","devDependencies":{"@types/node":"^22.0.0","c8":"^10.0.0","hast-util-from-html":"^2.0.0","hast-util-select":"^6.0.0","hast-util-to-string":"^3.0.0","prettier":"^3.0.0","remark-cli":"^12.0.0","remark-preset-wooorm":"^11.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","xo":"^0.60.0"},"exports":"./index.js","funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"keywords":["element","mathml","math","name","tagname","tag","w3c"],"license":"MIT","name":"mathml-tag-names","prettier":{"bracketSpacing":false,"semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"repository":{"type":"git","url":"git+https://github.com/wooorm/mathml-tag-names.git"},"scripts":{"build":"tsc --build --clean && tsc --build && type-coverage","format":"remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix","generate":"node --conditions development build.js","test-api":"node --conditions development test.js","test-coverage":"c8 --100 --reporter lcov -- npm run test-api","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"sideEffects":false,"typeCoverage":{"atLeast":100,"ignoreCatch":true},"type":"module","version":"4.0.0","xo":{"prettier":true},"_id":"mathml-tag-names@4.0.0","gitHead":"4a89d6b1048e4a44dc9abc444abf8f6b0431de87","types":"./index.d.ts","homepage":"https://github.com/wooorm/mathml-tag-names#readme","_nodeVersion":"23.1.0","_npmVersion":"11.1.0","dist":{"integrity":"sha512-aa6AU2Pcx0VP/XWnh8IGL0SYSgQHDT6Ucror2j2mXeFAlN3ahaNs8EZtG1YiticMkSLj3Gt6VPFfZogt7G5iFQ==","shasum":"295494906312f849a9236e6cd9accc902814d477","tarball":"http://registry-npm.ywwl.com/mathml-tag-names/download/mathml-tag-names-4.0.0.tgz","fileCount":6,"unpackedSize":10006,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIE7nHk2tlIlvm3sWm65U2JiGpKEDtnOPE4jjxtZV19aEAiEA7JUmKD3aIyIaZYgM5myaaI6MbWUvSDIhZWa59hOEOuU="}],"size":3979,"noattachment":false,"key":"/mathml-tag-names/-/mathml-tag-names-4.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mathml-tag-names_4.0.0_1739799548356_0.8245034757505272"},"_hasShrinkwrap":false,"readme":"# mathml-tag-names\n\n[![Build][badge-build-image]][badge-build-url]\n[![Coverage][badge-coverage-image]][badge-coverage-url]\n[![Downloads][badge-downloads-image]][badge-downloads-url]\n[![Size][badge-size-image]][badge-size-url]\n\nList of known MathML 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  * [`mathmlTagNames`](#mathmltagnames)\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 MathML tag names.\nIt includes all tag names from [MathML 1][w3-mathml1],\n[MathML 2][w3-mathml2],\n[MathML 3][w3-mathml3],\nand\n[MathML 4][w3-mathml4].\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 MathML.\n\n## Install\n\nThis package is [ESM only][github-gist-esm].\nIn Node.js (version 16+),\ninstall with [npm][npmjs-install]:\n\n```sh\nnpm install mathml-tag-names\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {mathmlTagNames} from 'https://esm.sh/mathml-tag-names@4'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {mathmlTagNames} from 'https://esm.sh/mathml-tag-names@4?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {mathmlTagNames} from 'mathml-tag-names'\n\nconsole.log(mathmlTagNames.length) // => 201\n\nconsole.log(mathmlTagNames.slice(0, 10))\n```\n\nYields:\n\n```js\n[\n  'abs',\n  'and',\n  'annotation',\n  'annotation-xml',\n  'apply',\n  'approx',\n  'arccos',\n  'arccosh',\n  'arccot',\n  'arccoth'\n]\n```\n\n## API\n\nThis package exports the identifier `mathmlTagNames`.\nThere is no default export.\n\n### `mathmlTagNames`\n\nList of known (lowercase) MathML tag names (`ReadonlyArray<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,\nthat is Node.js 16+.\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/svg-tag-names`](https://github.com/wooorm/svg-tag-names)\n  — list of 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*][opensource-guide].\n\n## License\n\n[MIT][file-license] © [Titus Wormer][wooorm]\n\n<!-- Definition -->\n\n[badge-build-image]: https://github.com/wooorm/mathml-tag-names/workflows/main/badge.svg\n\n[badge-build-url]: https://github.com/wooorm/mathml-tag-names/actions\n\n[badge-coverage-image]: https://img.shields.io/codecov/c/github/wooorm/mathml-tag-names.svg\n\n[badge-coverage-url]: https://codecov.io/github/wooorm/mathml-tag-names\n\n[badge-downloads-image]: https://img.shields.io/npm/dm/mathml-tag-names.svg\n\n[badge-downloads-url]: https://www.npmjs.com/package/mathml-tag-names\n\n[badge-size-image]: https://img.shields.io/bundlejs/size/mathml-tag-names\n\n[badge-size-url]: https://bundlejs.com/?q=mathml-tag-names\n\n[esmsh]: https://esm.sh\n\n[file-license]: license\n\n[github-gist-esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[npmjs-install]: https://docs.npmjs.com/cli/install\n\n[opensource-guide]: https://opensource.guide/how-to-contribute/\n\n[typescript]: https://www.typescriptlang.org\n\n[w3-mathml1]: https://www.w3.org/TR/1998/REC-MathML-19980407/appendixF.html\n\n[w3-mathml2]: https://www.w3.org/TR/MathML2/appendixl.html\n\n[w3-mathml3]: https://www.w3.org/TR/MathML3/appendixi.html\n\n[w3-mathml4]: https://www.w3.org/TR/mathml4/#mmlindex_elements\n\n[wooorm]: https://wooorm.com\n","publish_time":1739799548580,"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_cnpm_publish_time":1739799548580,"dist-tags":{"latest":"4.0.0"}}