Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dreygur/expressdoc

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dreygur/expressdoc

Express rest api docs with Swagger UI

  • 1.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Express Doc

express.js rest api docs with Swagger UI

Usage:

const { ExpressDoc } = require('expressdoc');
const app = new ExpressDoc({
  title: "Documentation", // Title of the app or for documentation page
  version: "5.0.1", // App version
  docPath: "/doc", // Documentation PATH
  apiPaths: ["./routes"], // PATH locations to the files where api is implemented
  SwaggerUiOptions // Options for Swagger UI
});

Or:

const expressDoc  = require('expressdoc');
const app = expressDoc();
// You can also pass the arguments to above function

The rest will be as express.js

Whatever can be done with express.js is possible with ExpressDoc as it just a wrapper of express with just the Swagger UI included for documentation generation.


Made with ❤️ from 🇧🇩

Keywords

FAQs

Package last updated on 31 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc