knuckleswtf / scribe-js

Generate API documentation for humans from your Node.js codebase.

Home Page:https://scribe.knuckles.wtf/nodejs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scribe for Node.js


Automatically generate API documentation for humans from your Node.js codebase. Here's what the output looks like. There's a Laravel version, too!

npm version npm Build Status

đź‘‹ Scribe helps you generate docs automatically, but if you really want to make friendly, maintainable and testable API docs, there's a few more things you need to know. So I made a course for you.

Features

  • Pretty HTML documentation page, with included code samples and friendly text
  • Included "Try It Out" button so users can test endpoints right from their browser
  • Markdown source files that can be edited to modify docs
  • Safely calls API endpoints to generate sample responses, with authentication and other custom configuration supported
  • Supports Postman collection and OpenAPI (Swagger) spec generation

Installation

Node.js 12.4.0 or higher is required.

Supported frameworks:

  • Adonis.js 4
  • Express 4
  • Restify 8
# For Adonis.js
npm i @knuckleswtf/scribe-adonis

# For Express
npm i @knuckleswtf/scribe-express

# For Restify
npm i @knuckleswtf/scribe-restify

Documentation

View the docs at scribe.knuckles.wtf/nodejs.

About

Generate API documentation for humans from your Node.js codebase.

https://scribe.knuckles.wtf/nodejs/


Languages

Language:TypeScript 52.7%Language:JavaScript 31.0%Language:CSS 9.3%Language:EJS 7.0%