@aureooms/js-rpn

3.0.0 • Public • Published

js-rpn

Reverse polish notation code bricks for JavaScript.

compile( isop , compute , [ ] , [ "1" , "2" , "+" , "4" , "*" ] ) ; // 12

NPM license NPM version Bower version Build Status Coverage Status Dependencies Status devDependencies Status Code Climate NPM downloads per month GitHub issues Inline docs

Can be managed through jspm, duo, component, bower, ender, jam, spm, and npm.

Install

jspm

jspm install github:aureooms/js-rpn
# or
jspm install npm:@aureooms/js-rpn

duo

No install step needed for duo!

component

component install aureooms/js-rpn

bower

bower install @aureooms/js-rpn

ender

ender add @aureooms/js-rpn

jam

jam install @aureooms/js-rpn

spm

spm install @aureooms/js-rpn --save

npm

npm install @aureooms/js-rpn --save

Require

jspm

let rpn = require( "github:aureooms/js-rpn" ) ;
// or
import rpn from '@aureooms/js-rpn' ;

duo

let rpn = require( "aureooms/js-rpn" ) ;

component, ender, spm, npm

let rpn = require( "@aureooms/js-rpn" ) ;

bower

The script tag exposes the global variable rpn.

<script src="bower_components/@aureooms/js-rpn/js/dist/rpn.min.js"></script>

Alternatively, you can use any tool mentioned here.

jam

require( [ "@aureooms/js-rpn" ] , function ( rpn ) { ... } ) ;

Use

See test file.

Package Sidebar

Install

npm i @aureooms/js-rpn

Weekly Downloads

3

Version

3.0.0

License

AGPL-3.0

Last publish

Collaborators

  • aureooms