UNPKG
expeditaet
Version:
latest (1.2.0)
1.2.0
1.1.3
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
Advent of Code Solutions
github.com/MariannaBoyle/expeditaet.git
MariannaBoyle/expeditaet
expeditaet
/
solutions
/
typescript
/
2018
/
01
/
src
/
p1.ts
7 lines
(4 loc)
•
215 B
text/typescript
View Raw
1
2
3
4
5
6
7
import
{ task }
from
'@alexaegis/advent-of-code-lib'
;
import
packageJson
from
'../package.json'
;
export
const
p1 = (
input
:
string
):
number
=>
eval
(input)
as
number
;
await
task
(p1, packageJson.
aoc
);
// 408 ~0.19ms