Need private packages and team management tools?Check out npm Teams »

mathml-tag-names

2.1.3 • Public • Published

mathml-tag-names

Build 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

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

mathMlTagNames

Array.<string> — List of lowercase tag names.

Related

License

MIT © Titus Wormer

Install

npm i mathml-tag-names

DownloadsWeekly Downloads

1,447,062

Version

2.1.3

License

MIT

Unpacked Size

7.65 kB

Total Files

4

Last publish

Collaborators

  • avatar