Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 816 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 816 Bytes

wow-toc-parser

World Of Warcraft addon .toc file parser. Written in typescript.

Ressources

This implementation is based on wow-toc by Zoey Mertes.

Furthermore the following documentation was used to create this tool:

Usage

// 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)

Notes / Caveats

  • Does not acknowledge #@no-lib-strip@/#@end-no-lib-strip@

License

// TODO change license to Apache

MIT. See LICENSE