update Readme

This commit is contained in:
Ulf Gebhardt 2023-04-10 21:28:56 +02:00
parent 1dbfc83230
commit d1def0cadc
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -18,7 +18,7 @@ Furthermore the following documentation was used to create this tool:
import { open } from 'fs/promises';
import { parse } from 'wow-toc-parser'
const file = await open(__dirname + '/../test/empty.toc', 'r');
const file = await open('/path/to/file.toc', 'r');
const toc = await parse(file)
console.log(toc)