A utility for generating Markdown documentation from JSON-based REST API descriptions. Current stable version is 1.5.1, with no active release cadence (last update unknown). Key differentiator: simple, declarative JSON schema to produce human-readable API docs without a heavy toolchain. Alternative to tools like Swagger/OpenAPI or apiDoc, but with a minimalist approach focused on REST endpoints, headers, request/response schemas, and error codes. Supports both local dev dependency and global CLI usage.
npm install json-docs-generatorNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to define a basic REST API doc in a JavaScript config file and generate Markdown documentation using the CLI.
Use the CLI command 'generate-docs' via npx or global install.
Use a relative path like './docs.md' as the 'path' value.
Use the command line: npx generate-docs --input ./api.js --output ./docs.md
Ensure the input file exists and provide the correct relative path.
No dependency data recorded yet.