|
| 1 | +[](https://www.npmjs.org/package/jsdoc-parse) |
| 2 | +[](https://www.npmjs.org/package/jsdoc-parse) |
| 3 | +[](https://travis-ci.org/jsdoc2md/jsdoc-parse) |
| 4 | +[](https://david-dm.org/jsdoc2md/jsdoc-parse) |
| 5 | +[](https://github.com/feross/standard) |
| 6 | +[](https://gitter.im/jsdoc2md/jsdoc2md?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) |
| 7 | + |
| 8 | +# jsdoc-parse |
| 9 | +Jsdoc explain out in, jsdoc2md template data out. |
| 10 | + |
| 11 | +jsdoc-parse extends [jsdoc](https://github.com/jsdoc3/jsdoc) with a few features: |
| 12 | + |
| 13 | +* Support for html input files (see `--html` option). |
| 14 | +* Support for new tags in the input javascript |
| 15 | + * `@category <string>`: Useful for grouping identifiers by category. |
| 16 | + * `@done`: Used to mark `@todo` items as complete. |
| 17 | + * `@typicalname`: If set on a class, namespace or module, child members will documented using this typical name as the parent name. Real-world typical name examples are `$` (the typical name for `jQuery` instances), `_` (underscore) etc. |
| 18 | + * `@chainable`: Set to mark a method as chainable (has a return value of `this`). |
| 19 | + |
| 20 | +## API Reference |
| 21 | +<a name="module_jsdoc-parse"></a> |
| 22 | + |
| 23 | +## jsdoc-parse |
| 24 | +**Example** |
| 25 | +```js |
| 26 | +const jsdocParse = require('jsdoc-parse') |
| 27 | +``` |
| 28 | +<a name="exp_module_jsdoc-parse--parse"></a> |
| 29 | + |
| 30 | +### parse(jsdocData, [options]) ⇒ <code>Array.<object></code> ⏏ |
| 31 | +**Kind**: Exported function |
| 32 | +**Params** |
| 33 | + |
| 34 | +- jsdocData <code>Array.<object></code> - jsdoc output |
| 35 | +- [options] <code>object</code> |
| 36 | + - [.private] <code>boolean</code> - Include identifier documentation marked as `@private` in the output |
| 37 | + - [.sort-by] <code>string</code> | <code>Array.<string></code> - Sort by one of more properties, e.g. `[ 'kind', 'category' ]`. Defaults to `[ 'scope', 'category', 'kind', 'order' ]`. |
| 38 | + |
| 39 | + |
| 40 | +* * * |
| 41 | + |
| 42 | +© 2014-16 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/75lb/jsdoc-to-markdown). |
0 commit comments