- NodeJS v8 or newer
- npm v6 or newer
- yarn v1.9 or newer
Installing Node & NPM:
-
To work with
christmas
the first thing you need is to have Node install on your system. To make sure you have already Nodejs installed on your system you may follow the below instructions -
As Node will make sure you have node and npm commands are available via command line, just run the below command on your terminal
$ node -v
v8.12.0
$ npm -v
6.4.1
$ yarn -v
1.9.4
$ npm i yarn -g
$ yarn
$ yarn test
$ node ./bin/parking_lot input.txt output.txt