UNPKG

infix-to-postfix-notation

Version:

A wonderful tool which converts expressions in infix notation to postfix notation using recursion.

17 lines (11 loc) 295 B
# Postfix notation converter ### Install ``` npm install --save infix-to-postfix-notation ``` ### Usage ```JavaScript var PostfixNotationConverter = require("infix-to-postfix-notation"); PostfixNotationConverter.convertToPostfixNotation("((1*(2+3))/4)"); // 123+*4/ ``` ##### Enjoy!