{"id":17288000,"url":"https://github.com/ccoeurderoy/nodejs-nba-winamax","last_synced_at":"2025-04-06T09:46:00.170Z","repository":{"id":42238427,"uuid":"247026123","full_name":"ccoeurderoy/nodejs-nba-winamax","owner":"ccoeurderoy","description":"A little prompt script calculating Winamax Score using NBA stats.","archived":false,"fork":false,"pushed_at":"2023-05-08T14:35:40.000Z","size":458,"stargazers_count":4,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T15:22:04.742Z","etag":null,"topics":["inquirerjs","nba","nodejs","ts-node","typescript","winamax"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ccoeurderoy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-13T08:48:51.000Z","updated_at":"2025-01-22T13:12:20.000Z","dependencies_parsed_at":"2023-01-23T02:35:10.359Z","dependency_job_id":null,"html_url":"https://github.com/ccoeurderoy/nodejs-nba-winamax","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccoeurderoy%2Fnodejs-nba-winamax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccoeurderoy%2Fnodejs-nba-winamax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccoeurderoy%2Fnodejs-nba-winamax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccoeurderoy%2Fnodejs-nba-winamax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ccoeurderoy","download_url":"https://codeload.github.com/ccoeurderoy/nodejs-nba-winamax/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247463812,"owners_count":20942944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["inquirerjs","nba","nodejs","ts-node","typescript","winamax"],"created_at":"2024-10-15T10:07:10.219Z","updated_at":"2025-04-06T09:46:00.106Z","avatar_url":"https://github.com/ccoeurderoy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NodeJS NBA Winamax score calculator\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/7c0c30ef96974fee813f5650eed86133)](https://app.codacy.com/manual/charlescoeurderoy/nodejs-nba-winamax?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=ccoeurderoy/nodejs-nba-winamax\u0026utm_campaign=Badge_Grade_Dashboard)\n\nA little prompt asking you to select a game and a user to calculate [Winamax](https://www.winamax.fr/jde) score.\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\n\n### Prerequisites\n\nYou need to install [NodeJS](https://nodejs.org/en/download/) on your local machine and clone this repository running:\n\n```bash\ngit clone https://github.com/ccoeurderoy/nodejs-nba-winamax.git\n```\n\n### Installing\n\nFirst, install node modules running:\n\n```bash\nnpm install\n```\n\n### Usage\n\nTo run the prompt script, run:\n\n```bash\nnpm start\n```\n\nIt will run the `index.ts` file using [ts-node](https://github.com/TypeStrong/ts-node) library. If you want to run the compiled JavaScript file, simply run:\n\n```bash\nnpm run start:oldschool\n```\n\nIt 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.\n\n### Coding Style\n\nThis project has been set up with [prettier](https://prettier.io/).\n\n## Built With\n\n* [TypeScript](https://www.typescriptlang.org/) - Typed JavaScript\n* [Lodash](https://lodash.com/) - JavaScript utility library\n* [Moment.js](https://momentjs.com/) - Date manipulation library\n* [Inquirer.js](https://github.com/SBoudrias/Inquirer.js/) - A command line user interface\n* [NBA](https://github.com/bttmly/nba) - A NodeJS Client for [stats.nba.com](https://stats.nba.com)\n* [Pino](https://getpino.io/#/) - A NodeJS logger library\n\n## Contributing\n\nThis module uses [semantic-release](https://github.com/semantic-release/semantic-release), please follow these [instructions](https://github.com/semantic-release/commit-analyzer#default-rules-matching) to contribute to the project or use `npm run commit`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccoeurderoy%2Fnodejs-nba-winamax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccoeurderoy%2Fnodejs-nba-winamax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccoeurderoy%2Fnodejs-nba-winamax/lists"}