postman2xlsx
v0.1.4
Published
Export API requests data from postman collection to xlsx file
Maintainers
Readme
Postman2xlsx
Export Request details from postman collection json to xlsx file.
Install using npm
npm install postman2xlsx
Command Line Execution
Note : To execute script from command line, user should install the package globally. i.enpm install -g postman2xlsx
Run below command to execute the scriptpostman2xlsx '<path to postman-api-collection.json>'
Import As Module In Node.js
'use strict';
const p2xl = require('postman2xlsx');
let postmanCollectionPath = 'path to postman-api-collection.json';
// Output file will be written in the same folder as that of input file with fileName as postmanToXslxOutput.xlsx
p2xl.exportToXlsx(postmanCollectionPath);
//Can also pass a secondary argument as output file path
let outputFilePath = '<path>/myOutputFile.xlsx';
p2xl.exportToXlsx(postmanCollectionPath, outputFilePath);
