@blueworld/postbox

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

Usage no npm install needed!

<script type="module">
  import blueworldPostbox from 'https://cdn.skypack.dev/@blueworld/postbox';
</script>

README

📬 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