Intellect: Math
Perform math calculations using Intellect
Install
Using npm:
npm install intellect-math
Usage
Once intellect is loaded you may pass an equation to calculate, for example:
var math = require("intellect-math");
intellect.use( math() );
var equation = "1 + 1";
intellect.process( equation, function( req, res ){
callback(res.data);
});
where callback is a custom method to handle the response
For more information on loading intellect please refer to the main lib
Credits
Initiated by Makis Tracend
Part of Intellect
Distributed through Makesites.org
License
Released under the MIT license