{"library":"jsdoc-rest-api","type":"library","category":null,"description":"jsdoc-rest-api v3.6.3 generates a map of REST API endpoints from JSDoc annotations and automatically attaches them to an Express.js app. It reads source files with custom tags like @apiType, @apiPath, @apiBody, @apiKey, and @apiDescription, producing route registrations so developers never need to write app.get(), app.post(), etc. The package exports two functions: generateRoutes() returns the route map, and attachExpressAppEndpoints() binds them to an Express instance. It is a niche automation tool for Node.js/Express projects using JSDoc comments; updates are infrequent (last release 2020).","language":"javascript","status":"maintenance","version":"3.6.3","tags":["javascript","jsdoc","rest api","nodejs","expressjs","documentation","automation","code generator","api generator"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install jsdoc-rest-api","imports":["import jsdocRestApi from 'jsdoc-rest-api'","const { generateRoutes } = require('jsdoc-rest-api')","const { attachExpressAppEndpoints } = require('jsdoc-rest-api')"]},{"cmd":"yarn add jsdoc-rest-api","imports":[]},{"cmd":"pnpm add jsdoc-rest-api","imports":[]}],"homepage":"https://github.com/Lwdthe1/jsdoc-rest-api#readme","github":"https://github.com/Lwdthe1/jsdoc-rest-api","docs":null,"changelog":null,"pypi":null,"npm":"jsdoc-rest-api","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}