# JSDoc Type Definition Extractor

> Extracts and indexes JSDoc type annotations from JavaScript codebases using the jsdoc-api parser. Generates TypeScript declaration files (.d.ts) and searchable type catalogs from @typedef and @param tags.

- Skill: `agentskillexchange/jsdoc-type-definition-extractor` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/jsdoc-type-definition-extractor`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/jsdoc-type-definition-extractor/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/jsdoc-type-definition-extractor

---


# JSDoc Type Definition Extractor

Extracts and indexes JSDoc type annotations from JavaScript codebases using the jsdoc-api parser. Generates TypeScript declaration files (.d.ts) and searchable type catalogs from @typedef and @param tags.

## Installation

Use the upstream install or setup path that matches your environment:
- npm install -g jsdoc
- npm install --save-dev jsdoc

Requirements and caveats from upstream:
- JSDoc supports stable versions of Node.js 8.15.0 and later. You can install
- To install the latest version on npm globally (might require sudo;

Basic usage or getting-started notes:
- JSDoc globally or in your project's node_modules folder.
- [learn how to fix this](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally)):
- To install the latest version on npm locally and save it in your package's

- Source: https://github.com/jsdoc/jsdoc
- Extracted from upstream docs: https://raw.githubusercontent.com/jsdoc/jsdoc/HEAD/README.md

## Documentation

- https://jsdoc.app/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/jsdoc-type-definition-extractor/)

