Package Exports
- mathml-tag-names
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mathml-tag-names) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
mathml-tag-names
List of known MathML tag names. Includes the elements from MathML 1, MathML 2, and MathML 3.
The repo contains a script to crawl specs to include newly introduced tag names.
Install
This package is ESM only: Node 12+ is needed to use it and it must be import
ed
instead of require
d.
npm:
npm install mathml-tag-names
Use
var mathmlTagNames = require('mathml-tag-names')
console.log(mathmlTagNames.length) // => 202
console.log(mathmlTagNames.slice(0, 20))
Yields:
[ 'abs',
'and',
'annotation',
'annotation-xml',
'apply',
'approx',
'arccos',
'arccosh',
'arccot',
'arccoth',
'arccsc',
'arccsch',
'arcsec',
'arcsech',
'arcsin',
'arcsinh',
'arctan',
'arctanh',
'arg',
'bind' ]
API
This package exports the following identifiers: mathmlTagNames
.
There is no default export.
mathmlTagNames
Array.<string>
— List of lowercase tag names.
Related
html-tag-names
— List of HTML tagssvg-tag-names
— List of SVG tagssvg-element-attributes
— Map of SVG elements to allowed attributeshtml-element-attributes
— Map of HTML elements to allowed attributesaria-attributes
— List of ARIA attributes