Usage
npm install shunting-yard
var sy = require("shunting-yard");
// 8
var result = sy.compute("2 * (2 * (1 + 1))");
See test.js for the usage of readNumber, readToken, readTokens, shuntingYard and evaluatePostfix.
Feel free to report any issues :)
License
GPL3