rpn
v4.0.0
Published
Reverse Polish Notation implementation.
Downloads
44
Readme
rpn
Reverse Polish Notation implementation.
Example
var rpn = require('rpn');
rpn('3 4 +');
// => 7
Installation
$ npm install rpn
API
var rpn = require('rpn');
rpn(expression)
Evaluates the postfix expression
and returns the result.