Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vtombesi/aoc-ts
A project for advent-of-code made in Typescript (with love 🥰)
https://github.com/vtombesi/aoc-ts
advent-of-code challenges typescript
Last synced: about 20 hours ago
JSON representation
A project for advent-of-code made in Typescript (with love 🥰)
- Host: GitHub
- URL: https://github.com/vtombesi/aoc-ts
- Owner: vtombesi
- Created: 2023-12-06T21:19:29.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2023-12-28T07:15:35.000Z (10 months ago)
- Last Synced: 2023-12-28T08:29:39.564Z (10 months ago)
- Topics: advent-of-code, challenges, typescript
- Language: TypeScript
- Homepage:
- Size: 212 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ts-aoc
## Getting Started
This is organized with the following structure:
```file-tree
ts-aoc-starter
├── puzzles
│ ├── day-1
│ │ ├── day-1-a.data.txt
│ │ ├── day-1-a.sample-data.txt
│ │ ├── day-1-a.ts
│ │ ├── day-1-b.data.txt
│ │ ├── day-1-b.sample-data.txt
│ │ └── day-1-b.ts
│ ├── day-2
│ ├── day-3
```## Running the Puzzles
Copy and paste the sample data given in the problem into the `day-X-a.sample-data.txt` file.
Copy and paste your larger unique actual data set into the `day-X-a.data.txt` file.
Add your solution to the `day-X-a.ts` file.
To run your solution against your sample data set, run the following command:
```terminal
nx day-1-a --data=sample
```or
```terminal
npm run day-1-a:sample
```To run your solution against your actual data set, run the following command:
```terminal
nx day-1-a
```or
```terminal
npm run day-1-a
```