1.0.7 • Published 6 years ago

math-expression v1.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

math-expression

Easy, safe, ultra light

Actual source is smaller than a half kilobyte!

Usage

const mathexpression = require("math-expression");

// Asynchronous function
(async () => {
    let result = await mathexpression('1+1')
        .catch(e => console.log(e));
    console.log(result);
})();

// Synchronous function
(() => {
    let result = mathexpression('1+1')
        .then(r => console.log(r))
        .catch(e => console.log(e));
})();
1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago