postman-doc-generator

1.0.0 • Public • Published

postman-doc-generator

This module is used to create a xlsx file about the list of API's from the postman collection JSON file.

Getting Started

Install the module using the following command.

npm i postman-doc-generator

Example

Below given is the example to use this package.

const docGenerator = require('postman-doc-generator');

let inputs = {
    json_path: '/home/user/postman/postman_collection.json',
    xlsx_path: '/home/user/Desktop/doc.xlsx'
};

docGenerator.buildExcelFile(inputs).then(result => {
    console.log(result); 
    // Returns this result 
    // { 
    //   status: 'success',
    //   xlsx_path: '/home/user/Desktop/doc.xlsx' 
    // }
})
.catch(err => {
    console.log(err);
});

Authors

  • Vishweswaran P - Initial work - Github

License

This project is licensed under the ISC License.

/postman-doc-generator/

    Package Sidebar

    Install

    npm i postman-doc-generator

    Weekly Downloads

    0

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    7.93 kB

    Total Files

    4

    Last publish

    Collaborators

    • vishnuit