mathparsa-latexifier-calculator-lib
v1.0.7
Published
Parse Plain-text Math to Latex and Evaluation
Downloads
17
Readme
mathparsa
Math in
Latex and result out
How use?
import { parse, latexify, calculate, AST } from 'mathparsa-latexifier-calculator-lib';
const math = '1 / a';
const ast: AST = parse(math);
const latex: string = latexify(ast);
const result: number = calculate(ast); // not implemented
const { parse, latexify, calculate } = require('mathparsa-latexifier-calculator-lib');
const math = '1 / a';
const ast = parse(math);
const latex = latexify(ast);
const result = calculate(ast); // not implemented