jsdoc3-parser

v0.0.0
Get the AST of a file using JSDoc3's parser
jsdoc parser ast

JSDoc3 Parser npm npm

JSDoc is not currently available as a library, so there's no clean way to access its parser. You can't require('jsdoc'), so you have to hack around it by using the jsdoc binary's -X option and parsing the output.

This is a wrapper around that process.

Usage

var parser = require('jsdoc3-parser');

parser('myfile.js', function(error, ast) {

});

License

MIT

Metadata

  • MIT
  • Whatever
  • Joel Kemp
  • released 7/2/2014

Downloads

Maintainers