postman2xlsx

0.1.4 • Public • Published

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.e
npm install -g postman2xlsx

Run below command to execute the script
postman2xlsx '<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);


Steps to Export Collections from Postman

Learn to Export Collections from Postman

Package Sidebar

Install

npm i postman2xlsx

Weekly Downloads

2

Version

0.1.4

License

ISC

Unpacked Size

4.65 kB

Total Files

4

Last publish

Collaborators

  • sagard