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 i @blueworld/postbox -g
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!
postbox-split path/to/postman_collection.json ./outdir
postbox-merge ./outdir path/to/postman_collection.json