Wondering what’s next for npm?Check out our public roadmap! »

    @claudemuller/postfix-calculator

    1.0.1 • Public • Published

    Postfix Calculator Build Status Coverage Status

    A postfix/reverse polish notation calculator implemented in JavaScript

    Installation

    npm install @claudemuller/postfix-calculator

    Usage

    const calculate = require('@claudemuller/postfix-calculator');
    
    var result = calculate(5, 6, 7, '*', '+', 1, '-');
    

    Output should be 46

    Tests

    npm test

    Install

    npm i @claudemuller/postfix-calculator

    DownloadsWeekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • avatar