https://github.com/aod/advent-of-javascript
Advent of Code solutions in JavaScript
https://github.com/aod/advent-of-javascript
advent-of-code adventofcode aoc javascript js nodejs
Last synced: 27 days ago
JSON representation
Advent of Code solutions in JavaScript
- Host: GitHub
- URL: https://github.com/aod/advent-of-javascript
- Owner: aod
- License: unlicense
- Created: 2018-07-06T23:00:19.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-11-24T23:47:13.000Z (over 4 years ago)
- Last Synced: 2025-01-23T08:20:20.489Z (over 1 year ago)
- Topics: advent-of-code, adventofcode, aoc, javascript, js, nodejs
- Language: JavaScript
- Homepage:
- Size: 397 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# advent-of-javascript
Advent of Code solutions written in JavaScript using Node.
# Usage
Install dependencies:
```
npm install --production
```
Run a solution with [aoc-runner](https://github.com/aod/aoc-runner.js):
```
npx aoc-runner [-v] date[:excludeDate] [repeat_amount_per_solution=1]
Example usage:
npx aoc-runner .7,8. -> [2015,2016,..].7,8.1,2
npx aoc-runner 2015,2018.1-7.2 -> 2015,2018.1,2,3,4,5,6,7.2
npx aoc-runner 2015-2017.1-5.:.2-3. -> 2015,2016,2017.1,4,5.1,2
```
# Development
Install dev-depdencies:
```
npm install --only=dev
```
Run tests:
```
npm test
```
Format code:
```
npm run prettier
```