0.1.0 • Published 10 years ago

wow-toc v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

wow-toc

Build Status

World Of Warcraft addon .toc file parser. Written in Node.js.

Built on the documentation at Wowpedia.

Usage

$ npm install wow-toc

var wowtoc = require('wow-toc');

var k = wowtoc.parse(fs.readFileSync('somefile.toc'));
wowtoc.stringify(k);

Notes / Caveats

  • Does not acknowledge #@no-lib-strip@/#@end-no-lib-strip@
  • Dependencies/OptionalDeps/etc remain strings (easy to convert to arrays anyways)
  • Doesn't validate tag names (## Bacon: Strip is valid to it but not to WoW)

License

MIT. See LICENSE