https://www.npmjs.com/package/js-assessment-part2
How to use:
Install package:
npm install js-assessment-part2
On your JavaScript file:
const package = require('js-assessment-part2');
console.log(package("100+1-(1+100-(1+100))")); <--- Use the string equation you want to evaluate as an argument
On your terminal run the above JS file:
node script.js