swage

0.4.1 • Public • Published

Swage

CLI tool for converting Swagger API specification JSON to Excel

Getting started

cli

excel

Install

npm install --global swage
yarn global add swage

Command

swage gen --help

# generate an excel file in the current directory
swage gen <json-path>

Example

swage gen example/example.json
OUTPUT >>> ./swagger.xlsx

flag --output, -o

swage gen example/example.json --output example
OUTPUT >>> ./example/swagger.xlsx

Development

Build

npm install
npm run build

Run

node dist/main.js gen example/example.json --output .

Local Install

npm run local
# /usr/local/bin/swage -> /usr/local/lib/node_modules/swage/dist/main.js
# + swage@0.4.0
# added 1 package from 1 contributor in 0.667s

Clean

npm run clean

Reference

Readme

Keywords

Package Sidebar

Install

npm i swage

Weekly Downloads

2

Version

0.4.1

License

MIT

Unpacked Size

23.5 kB

Total Files

8

Last publish

Collaborators

  • markruler