Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jsdoc2md/jsdoc-parse
parses jsdoc documentation from javascript or html files, outputs JSON
https://github.com/jsdoc2md/jsdoc-parse
Last synced: 16 days ago
JSON representation
parses jsdoc documentation from javascript or html files, outputs JSON
- Host: GitHub
- URL: https://github.com/jsdoc2md/jsdoc-parse
- Owner: jsdoc2md
- License: mit
- Created: 2014-07-10T20:43:39.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-01-31T18:43:07.000Z (10 months ago)
- Last Synced: 2024-05-15T12:51:33.108Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 382 KB
- Stars: 94
- Watchers: 2
- Forks: 19
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![view on npm](https://badgen.net/npm/v/jsdoc-parse)](https://www.npmjs.org/package/jsdoc-parse)
[![npm module downloads](https://badgen.net/npm/dt/jsdoc-parse)](https://www.npmjs.org/package/jsdoc-parse)
[![Gihub repo dependents](https://badgen.net/github/dependents-repo/jsdoc2md/jsdoc-parse)](https://github.com/jsdoc2md/jsdoc-parse/network/dependents?dependent_type=REPOSITORY)
[![Gihub package dependents](https://badgen.net/github/dependents-pkg/jsdoc2md/jsdoc-parse)](https://github.com/jsdoc2md/jsdoc-parse/network/dependents?dependent_type=PACKAGE)
[![Node.js CI](https://github.com/jsdoc2md/jsdoc-parse/actions/workflows/node.js.yml/badge.svg)](https://github.com/jsdoc2md/jsdoc-parse/actions/workflows/node.js.yml)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)# jsdoc-parse
Transforms [jsdoc](https://github.com/jsdoc3/jsdoc) data into something more suitable for use as template input. Also adds a few tags to the default set:
* Support for new tags in the input javascript
* `@category `: Useful for grouping identifiers by category.
* `@done`: Used to mark `@todo` items as complete.
* `@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.
* `@chainable`: Set to mark a method as chainable (has a return value of `this`).## Command-line usage
This module is built into [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown/), you can see the output using this command:
```
$ jsdoc2md --json
```* * *
© 2014-24 Lloyd Brookes \<[email protected]\>.
Tested by [test-runner](https://github.com/test-runner-js/test-runner). Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).