mugen/postman2doc

Convert postman collection.json to markdown/html/docx.

0.1.0 2018-01-02 07:42 UTC

This package is auto-updated.

Last update: 2024-03-13 14:16:28 UTC


README

Introduction

It ia a convert postman collection.json to simple markdown/html/docx document tool.

Installation

You can install it with following command. recommended to install to the global, and you need to add global composer vendor/bin to the PATH.

composer global require mugen/postman2doc

Usage

The following command can convert a file named 'postman_collection.json'.

postman2doc convert /path/to/postman_collection.json

OR you can run postman2doc directly, then you will see the command I/O.

If you want convert to html & docx document, use following command.

postman2doc convert /path/to/postman_collection.json --html --docx --no-md

OR

postman2doc convert:html /path/to/postman_collection.json

postman2doc convert:docx /path/to/postman_collection.json

If convert success, you will receive a system notification, then you can see the document file at same folder.

Features

Convert postman collection.json to...

✓ markdown ✓ HTML ✓ docx ✘ PDF

License

Released under the MIT license

Thanks

This tool is base on laravel-zero