diff options
Diffstat (limited to 'src/example.ts')
| -rw-r--r-- | src/example.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/example.ts b/src/example.ts new file mode 100644 index 0000000..394b220 --- /dev/null +++ b/src/example.ts @@ -0,0 +1,12 @@ +import getScheduleHtml from './getScheduleHtml' +import parse from './parseScheduleHtml' + +async function main() { + const html = await getScheduleHtml(); + const parsed = parse(html) + + // console.log(html.split('\n')) + console.log(parsed) +} + +main().catch(e => { console.error(e) }) |