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

@phenyl/api-explorer

Package Overview
Dependencies
Maintainers
9
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phenyl/api-explorer

Automatically renders API explorer pages like swagger

4.2.0
latest
Source
npm
Version published
Weekly downloads
102
56.92%
Maintainers
9
Weekly downloads
 
Created
Source

phenyl-api-explorer

Automatically renders API explorer pages like swagger UI.

screenshot.png

Install

npm install phenyl-api-explorer

Usage

const PhenylApiExplorer = require('phenyl-api-explorer').default

const server = new PhenylHttpServer(http.createServer(), {
  // ...
  customRequestHandler: new PhenylApiExplorer(functionalGroup, { path: '/explorer' }).handler,
})

Or ES6:

import PhenylApiExplorer from 'phenyl-api-explorer'

// ...

For more details, please refer our example.

LICENSE

Apache License 2.0

FAQs

Package last updated on 23 Jan 2025

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