Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/michaelduo/latex-expression-translator
Transform Latex Equation To Sympy
https://github.com/michaelduo/latex-expression-translator
javascript latex sympy
Last synced: 2 months ago
JSON representation
Transform Latex Equation To Sympy
- Host: GitHub
- URL: https://github.com/michaelduo/latex-expression-translator
- Owner: MichaelDuo
- License: mit
- Created: 2017-11-25T07:39:25.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-03T08:26:38.000Z (almost 6 years ago)
- Last Synced: 2024-04-26T16:22:47.321Z (8 months ago)
- Topics: javascript, latex, sympy
- Language: JavaScript
- Size: 153 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
latex-expression-translator
===========================
[![npm][npm-image]][npm-url]
[![Build Status][travis-image]][travis-url]
[![codecov][codecov-image]][codecov-url][![NPM](https://nodei.co/npm/latex-expression-translator.png)][npm-url]
A javascript library which transforms Latex Expression To Sympy Expression
Install
=========
```
npm install latex-expression-translator
```Usage
=====
```javascript
const translateLatex = require('latex-expression-translator')const sympyExpression = translateLatex('\\frac{\\sqrt{8}}{x}^2') // output: (((sqrt(8))/(x))**2)
```[npm-image]: https://img.shields.io/npm/v/latex-expression-translator.svg?style=flat
[npm-url]: https://www.npmjs.com/package/latex-expression-translator
[travis-image]: https://travis-ci.org/MichaelDuo/latex-expression-translator.svg?branch=master
[travis-url]: https://travis-ci.org/MichaelDuo/latex-expression-translator
[codecov-image]: https://codecov.io/gh/michaelduo/latex-expression-translator/branch/master/graph/badge.svg
[codecov-url]: https://codecov.io/gh/MichaelDuo/latex-expression-translator