npm.io
1.2.2 • Published 7 years agoCLI

@blueworld/postbox

Licence
GPL-3.0-or-later
Version
1.2.2
Deps
1
Size
7 kB
Vulns
0
Weekly
0
Stars
7

Postbox

A tool to split up a Postman collection into files. One file per request.

This helps with large collections under source control. Goodbye, merge conflicts!

npm version

Installation

npm i @blueworld/postbox -g

Usage

The usage is very simple. We need a path to the Postman collection JSON file and a directory to write our splitted up files into.

Info: No worries, the order of the Postman collection items is retained throughout the split and merge process!

Split up the Postman collection JSON

postbox-split path/to/postman_collection.json ./outdir

Merge files back into a Postman collection JSON

postbox-merge ./outdir path/to/postman_collection.json