Install NodeJS (version 10 or above) npm install To run the code, use npm run solution To run unit tests, npm run test Use Jest to perform the unittest. Jest is one of the popular JavaScript testing framework.