This package has been deprecated
Author message:
Other libraries like mathjs.org have more functionality and are tested better
shunting-yard
2.1.0 • Public • Published 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
Versions
Current Tags
- VersionDownloads (Last 7 Days)
Version History
- VersionDownloads (Last 7 Days)
Package Sidebar
Install
Weekly Downloads