1.0.0 • Published 5 years ago

postman-doc-generator v1.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

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.