Naval Pilgrim's Mayflower

    rpn

    2.0.0 • Public • Published

    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)

    Evalutes the postfix expression and returns the result.

    Keywords

    Install

    npm i rpn

    DownloadsWeekly Downloads

    9

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    3.28 kB

    Total Files

    4

    Last publish

    Collaborators

    • kenan