jsdoc3-parser

Get the AST of a file using JSDoc3's parser

MIT 10 个版本
安装
npm install jsdoc3-parser
yarn add jsdoc3-parser
pnpm add jsdoc3-parser
bun add jsdoc3-parser
README

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

版本列表
3.0.0 2023-04-18
2.0.0 2018-02-18
1.1.0 2015-10-08
1.0.5 2015-01-22
1.0.4 2015-01-21
1.0.3 2014-12-17
1.0.2 2014-07-16
1.0.1 2014-07-13
1.0.0 2014-07-02
0.0.0 2014-07-02