# postman2xlsx

> Export API requests data from postman collection to xlsx file

Latest version **0.1.4** (published 2020-01-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install postman2xlsx
pnpm add postman2xlsx
yarn add postman2xlsx
bun add postman2xlsx
```

Provides the command `postman2xlsx`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2020-01-06 |
| First published | 2019-12-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sagar D |
| Maintainers | sagard |
| Keywords | postman, xlsx, postman to excel, export from postman |

## Links

- npm: https://www.npmjs.com/package/postman2xlsx
- Repository: https://github.com/Sagar-D/postman2xlsx
- Homepage: https://github.com/Sagar-D/postman2xlsx#readme
- Issues: https://github.com/Sagar-D/postman2xlsx/issues
- npm.io page: https://npm.io/package/postman2xlsx

## Dependencies (1)

- [json2xls](https://npm.io/package/json2xls.md) ^0.1.2

## Recent versions

- 0.1.4 (latest) — 2020-01-06
- 0.1.3 — 2020-01-06
- 0.1.2 — 2020-01-03
- 0.1.1 — 2019-12-30

## 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.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](https://learning.getpostman.com/docs/postman/collections/data-formats/#exporting-postman-data)

---
_Source: https://npm.io/package/postman2xlsx · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
