wow-toc

0.1.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i wow-toc

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • zekesonxx