1.0.4 • Published 3 years ago
mathematics-expression-solver v1.0.4
To clone and run this application, you'll need Git, Node.js v10.16 or higher + Yarn v1.13 or higher, installed on your computer. From your command line:
# Clone this repository
$ git https://github.com/joaovitor32/mathematics-expression-solver
# Go into the repository
$ cd mathematics-expression-solver
# Install dependencies
$ npm install
# Run the app
$ node index.js
Using npm
npm i mathematics-expression-solver
Usage
import {Solve_Expression} from 'mathematics-expression-solver';
let result = Solve_Expression("1+2")
import {Add_Function,Solve_Expression} from 'mathematics-expression-solver';
Add_Function('function tien(a,b){ a^2 + b^2 }')
let result = Solve_Expression("1 tien 2")
npm run test