# asciimath-to-latex

> AsciiMath to LaTeX converter

Latest version **0.5.1** (published 2022-01-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install asciimath-to-latex
pnpm add asciimath-to-latex
yarn add asciimath-to-latex
bun add asciimath-to-latex
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.1 |
| Published | 2022-01-04 |
| First published | 2016-11-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 148.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 27 |
| Author | Tyler Long |
| Maintainers | tylerlong |

## Links

- npm: https://www.npmjs.com/package/asciimath-to-latex
- Repository: https://github.com/tylerlong/asciimath-to-latex
- Homepage: https://github.com/tylerlong/asciimath-to-latex#readme
- Issues: https://github.com/tylerlong/asciimath-to-latex/issues
- npm.io page: https://npm.io/package/asciimath-to-latex

## Recent versions

- 0.5.1 (latest) — 2022-01-04
- 0.5.0 — 2022-01-04
- 0.4.0 — 2021-10-17
- 0.3.2 — 2017-04-09
- 0.3.1 — 2017-03-02
- 0.3.0 — 2016-12-30
- 0.2.4 — 2016-11-21
- 0.2.3 — 2016-11-21
- 0.2.2 — 2016-11-21
- 0.2.1 — 2016-11-21
- 0.2.0 — 2016-11-21
- 0.1.9 — 2016-11-21
- 0.1.8 — 2016-11-20
- 0.1.7 — 2016-11-20
- 0.1.6 — 2016-11-20
- … 6 more at https://npm.io/package/asciimath-to-latex/versions

## README

# AsciiMath to LaTeX converter

[AsciiMath](http://asciimath.org/) to [LaTeX](https://www.latex-project.org/) converter.


## Installation

```
yarn add asciimath-to-latex
```


## Usage

```javascript
const asciimath2latex = require('asciimath-to-latex')
const asciimath = '2=(((3-x)xx2)/(3-x))'
console.log(`asciimath: ${asciimath}`)
const latex = asciimath2latex(asciimath)
console.log(`latex: ${latex}`)
```


## Credits

I forgot where I copied the original code from. It's probably [here](https://github.com/asciimath/asciimathml/blob/master/asciimath-based/ASCIIMathTeXImg.js).

---
_Source: https://npm.io/package/asciimath-to-latex · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
