mathml-to-asciimath

1.4.0 • Public • Published

mathml-to-asciimath

Convert subset of MathML to ASCIIMathML.

Usage

var convert = require('mathml-to-asciimath');

var mathml = '<math><mn>1</mn><mo>+</mo><mn>2</mn></math>';
convert(mathml); // => '1 + 2'

Running Tests

npm test

This module is not

  • comprehensive
  • performant

License

MIT

Package Sidebar

Install

npm i mathml-to-asciimath

Weekly Downloads

9

Version

1.4.0

License

MIT

Last publish

Collaborators

  • psalaets