1. mathml-tag-names
List of known MathML tag names
mathml-tag-names
Package: mathml-tag-names
Created by: wooorm
Last modified: Sat, 29 Apr 2023 05:07:26 GMT
Version: 3.0.2
License: MIT
Downloads: 16,408,811
Repository: https://github.com/wooorm/mathml-tag-names

Install

npm install mathml-tag-names
yarn add mathml-tag-names

mathml-tag-names

Build
Coverage
Downloads
Size

List of known MathML tag names.

Contents

What is this?

This is a list of MathML tag names.
It includes all tag names from MathML 1, MathML 2, and
MathML 3.
The repo is includes scripts to regenerate the data from the specs.

When should I use this?

You can use this package when you need to know what tag names are allowed in
any version of MathML.

Install

This package is ESM only.
In Node.js (version 12.20+, 14.14+, or 16.0+), install with npm:

 npm install mathml-tag-names

In Deno with Skypack:

 import {mathmlTagNames} from 'https://cdn.skypack.dev/mathml-tag-names@3?dts'

In browsers with Skypack:

 <script type="module">
  import {mathmlTagNames} from 'https://cdn.skypack.dev/mathml-tag-names@3?min'
</script>

Use

 import {mathmlTagNames} from 'mathml-tag-names'

console.log(mathmlTagNames.length) // => 189

console.log(mathmlTagNames.slice(0, 10))

Yields:

 [
  'abs',
  'and',
  'annotation',
  'annotation-xml',
  'apply',
  'approx',
  'arccos',
  'arccosh',
  'arccot',
  'arccoth'
]

API

This package exports the following identifiers: mathmlTagNames.
There is no default export.

mathmlTagNames

List of known (lowercase) MathML tag names (Array<string>).

Types

This package is fully typed with TypeScript.

Compatibility

This package is at least compatible with all maintained versions of Node.js.
As of now, that is Node.js 12.20+, 14.14+, and 16.0+.
It also works in Deno and modern browsers.

Security

This package is safe.

Contribute

Yes please!
See How to Contribute to Open Source.

License

MIT © Titus Wormer

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin