JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5063991
  • Score
    100M100P100Q319480F
  • License MIT

List of known MathML tag-names

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

Build Coverage Downloads Size

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 imported instead of required.

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.

License

MIT © Titus Wormer