ds-algo-study
Version:
Just experimenting with publishing a package
21 lines (13 loc) • 604 B
Markdown
# JSDoc3 Parser [](https://npmjs.org/package/jsdoc3-parser) [](https://npmjs.org/package/jsdoc3-parser)
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
```javascript
var parser = require('jsdoc3-parser');
parser('myfile.js', function(error, ast) {
});
```
### License
MIT