read more about the algorithm at wiki
npm i rev-polish-notation -S
Then, call from your file:
const reversePolishNotation = require('rev-polish-notation');
console.log(reversePolishNotation('25 20 * 10 /') // 50
since I'm using big-integer numbers larger than 9007199254740992 and smaller than -9007199254740992 are not precisely