{"library":"prettier-plugin-jsdoc","title":"prettier-plugin-jsdoc","description":"A Prettier plugin (v1.8.0) that formats JSDoc comment blocks, converting them to a consistent style. Written in TypeScript, requires Prettier ^3.0.0 and Node >=14.13.1. It supports standard JSDoc tags, Markdown in descriptions, @example code blocks, TypeScript type definitions, and React prop types. Unlike alternative formatters (e.g., eslint-plugin-jsdoc), this integrates directly with Prettier as a plugin, ensuring zero-config formatting in editors and CI. Actively maintained with frequent releases.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install prettier-plugin-jsdoc"],"cli":null},"imports":["Add to .prettierrc plugins array: \"plugins\": [\"prettier-plugin-jsdoc\"]"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// 1. Install: npm install --save-dev prettier prettier-plugin-jsdoc\n// 2. .prettierrc:\n{\n  \"plugins\": [\"prettier-plugin-jsdoc\"]\n}\n// 3. Input file (example.js):\n/**\n * @param {  string   }    name description\n */\nfunction greet(name) {}\n// 4. Run: npx prettier --write example.js\n// Output:\n/** @param {string} name Description */\nfunction greet(name) {}\n","lang":"javascript","description":"Installs the plugin, adds it to Prettier config, and formats a JSDoc comment from messy to clean.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}