0.2.0 • Published 3 years ago

nodejs-calc-text v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

NodeJs Calc Text

https://github.com/dobronravov/nodejs-calc.git https://www.npmjs.com/package/nodejs-calc-text

Installing

npm install nodejs-calc-text

Usage

const calcText = require('nodejs-calc-text');
const formula = '148/8+5';
try {
    const result = calcText.calculate(formula);
    console.log(result);
} catch (e) {
    console.log(e);
}

Run example

node example

Test

Mocha test cases.

npm test
0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago