A little prompt asking you to select a game and a user to calculate Winamax score.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You need to install NodeJS on your local machine and clone this repository running:
git clone https://github.com/ccoeurderoy/nodejs-nba-winamax.git
First, install node modules running:
npm install
To run the prompt script, run:
npm start
It will run the index.ts
file using ts-node library. If you want to run the compiled JavaScript file, simply run:
npm run start:oldschool
It will then ask you to enter a date and will look for NBA games. After selecting a game, select a player. The Winamax score will then be displayed.
This project has been set up with prettier.
- TypeScript - Typed JavaScript
- Lodash - JavaScript utility library
- Moment.js - Date manipulation library
- Inquirer.js - A command line user interface
- NBA - A NodeJS Client for stats.nba.com
- Pino - A NodeJS logger library
This module uses semantic-release, please follow these instructions to contribute to the project or use npm run commit
.