🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

swagger-yaml-to-html

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swagger-yaml-to-html

Convert Swagger YAML to HTML using Swagger UI

1.0.3
latest
Source
npm
Version published
Weekly downloads
6
Maintainers
1
Weekly downloads
 
Created
Source

YAML to HTML Converter

A Node.js package to convert YAML files to HTML using Swagger UI.

Installation

You can install the package via npm:

npm install swagger-yaml-to-html

Usage

const generateHtmlFromYaml = require('swagger-yaml-to-html');

// Provide input YAML file path and output HTML file path
const inputFilePath = 'path/to/input.yaml';
const outputFilePath = 'path/to/output.html';

// Convert YAML to HTML
generateHtmlFromYaml(inputFilePath, outputFilePath);

Keywords

yaml

FAQs

Package last updated on 18 Mar 2024

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