New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@soluzioni-futura/docs-helper

Package Overview
Dependencies
Maintainers
6
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@soluzioni-futura/docs-helper

Run the following command: ```sh $ npm i @soluzioni-futura/docs-helper ```

1.0.11
latest
Source
npm
Version published
Maintainers
6
Created
Source

Setup

Run the following command:

$ npm i @soluzioni-futura/docs-helper

Usage

import { OpenAPIV3 }, DocsHelperRouter from "@soluzioni-futura/docs-helper"
import definition from "./definition.json"
import express from "express"

const app = express()

/* ... */

app.use(DocsHelperRouter({
    definition: definition as OpenAPIV3.Document,
    endpoint: "/docs"
}))

app.listen(8000, () => {
    console.log("App is listening on port 8000!")
})

Check http://localhost:8000/docs

The definition can be provided by local path

FAQs

Package last updated on 01 Nov 2021

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