World Of Warcraft addon .toc
file parser. Written in typescript.
This implementation is based on wow-toc by Zoey Mertes.
Furthermore the following documentation was used to create this tool:
- http://wowpedia.org/TOC_format
- https://wowwiki-archive.fandom.com/wiki/TOC_format
- https://wowpedia.fandom.com/wiki/TOC_format
// TODO publish
$ npm install wow-toc
import { open } from 'fs/promises';
import { parse } from 'wow-toc-parser'
const file = await open('/path/to/file.toc', 'r');
const toc = await parse(file)
console.log(toc)
- Does not acknowledge
#@no-lib-strip@
/#@end-no-lib-strip@
// TODO change license to Apache
MIT. See LICENSE