0.3.0 • Published 11 years ago

mathy v0.3.0

Weekly downloads
43
License
-
Repository
github
Last release
11 years ago

Mathy.js

Build Status

Mathy.js is a simple arithmetic calculation engine for node.js and the browser.

It allows you to easily produce parameterized formulas and then get out the results based on what is passed in. It can also be used to execute a string as a formula.

Usage

var mathy = require('mathy');

var engine = new mathy.Engine({
    name: 'a',
    derivation: '1 + 2'
});

var result = engine.process();

expect(result[0]).toEqual(3);

License

MIT

Author

Aaron Powell

0.3.0

11 years ago

0.2.1

11 years ago

0.1.0

11 years ago