1.6.0 • Published 4 years ago

rpn-computer v1.6.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

rpn-computer

Reverse Polish Notation implementation, written in Typescript

Install

npm install rpn-computer

yarn add rpn-computer

Usage

import rpn from 'rpn-computer' // ES modules

const rpn = require('rpn-computer') // CommonJS

rpn('2 5 +') // => 7

rpn(expression)

Evalutes the postfix expression and returns the result.

1.6.0

4 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.0.0

5 years ago