MCPcopy
hub / github.com/jsdoc/jsdoc

github.com/jsdoc/jsdoc @4.0.5 sqlite

repository ↗ · DeepWiki ↗ · release 4.0.5 ↗
794 symbols 2,045 edges 496 files 322 documented · 41%
README

JSDoc

Build Status

An API documentation generator for JavaScript.

Want to contribute to JSDoc? Please read CONTRIBUTING.md.

Installation and Usage

JSDoc supports stable versions of Node.js 12.0.0 and later. You can install JSDoc globally or in your project's node_modules folder.

To install the latest version on npm globally (might require sudo; learn how to fix this):

npm install -g jsdoc

To install the latest version on npm locally and save it in your package's package.json file:

npm install --save-dev jsdoc

To install the latest development version locally, without updating your project's package.json file:

npm install git+https://github.com/jsdoc/jsdoc.git

If you installed JSDoc locally, the JSDoc command-line tool is available in ./node_modules/.bin. To generate documentation for the file yourJavaScriptFile.js:

./node_modules/.bin/jsdoc yourJavaScriptFile.js

If you installed JSDoc globally, run the jsdoc command:

jsdoc yourJavaScriptFile.js

By default, the generated documentation is saved in a directory named out. You can use the --destination (-d) option to specify another directory.

Run jsdoc --help for a complete list of command-line options.

Templates and tools

The JSDoc community has created templates and other tools to help you generate and customize your documentation. Here are a few of them:

Templates

Build tools

Other tools

For more information

License

JSDoc is copyright (c) 2011-present Michael Mathews micmath@gmail.com and the contributors to JSDoc.

JSDoc is free software, licensed under the Apache License, Version 2.0. See the file LICENSE.md in this distribution for more details.

Core symbols most depended-on inside this repo

expect
called by 2678
test/lib/jasmine.js
parse
called by 118
lib/jsdoc/tutorial.js
cb
called by 117
jsdoc.js
beforeEach
called by 82
test/lib/jasmine.js
get
called by 64
lib/jsdoc/config.js
afterEach
called by 53
test/lib/jasmine.js
spyOn
called by 47
test/lib/jasmine.js
addTag
called by 30
lib/jsdoc/doclet.js

Shape

Function 542
Method 142
Class 110

Languages

TypeScript100%

Modules by API surface

lib/jsdoc/src/visitor.js37 symbols
lib/jsdoc/src/parser.js30 symbols
templates/default/publish.js26 symbols
lib/jsdoc/augment.js24 symbols
lib/jsdoc/doclet.js23 symbols
lib/jsdoc/tag/dictionary/definitions.js22 symbols
lib/jsdoc/util/templateHelper.js21 symbols
test/lib/jasmine.js18 symbols
lib/jsdoc/opts/argparser.js16 symbols
lib/jsdoc/tag/dictionary.js15 symbols
test/fixtures/classtag2.js14 symbols
templates/default/static/scripts/prettify/prettify.js14 symbols

Dependencies from manifests, versioned

@babel/parser7.20.15 · 1×
@jsdoc/salty0.2.1 · 1×
@types/markdown-it14.1.1 · 1×
ajv6.12.0 · 1×
bluebird3.7.2 · 1×
catharsis0.9.0 · 1×
escape-string-regexp2.0.0 · 1×
gulp5.0.0 · 1×
gulp-eslint6.0.0 · 1×
gulp-json-editor2.5.6 · 1×
js2xmlparser4.0.2 · 1×
klaw3.0.0 · 1×

For agents

$ claude mcp add jsdoc \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact