New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

postman-combine-collections

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postman-combine-collections

A command line tool to combine several Postman collections into one.

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.1K
decreased by-17.29%
Maintainers
1
Weekly downloads
 
Created
Source

postman-combine-collections

A command line tool to combine several Postman collections into one. Only collection schema verions >=2.0 are supported. More info about Postman collection schemas could be found here http://schema.getpostman.com/

Installation

postman-combine-collections can be installed using NPM or directly from the git repository within your NodeJS projects. If installing from NPM, the following command installs the tool and saves in your package.json

> npm install postman-combine-collections --save

Usage

> postman-combine-collections [options]

Options:

-V, --version              output the version number
-f, --filePath <filePath>  Path or wildcard to collection files
-n, --name [name]          New collection name (default: Root collection)
-o, --output [output]      Output file name (default: ./root.collection.json)
-h, --help                 output usage information

Examples

# Combines all collections in folder 'collections' and outputs it to 'composed.collection.json'
> postman-combine-collections --name Composed -f 'collections/*.postman_collection.json'  -o composed.collection.json
# Combines Contributor.collection.json and Program_APIs.collection.json and outputs it to 'composed.collection.json'
> postman-combine-collections --name Composed -f  {Contributor,Program_APIs}.collection.json  -o composed.collection.json

Check glob-npm and How To Use Bash Wildcards For Globbing to understand file globbing better.

Known issues

Q: tool takse only the first file from wild card file path match.

A: It works in this way on Unix based systems. Check this issue to find the solution.

Keywords

FAQs

Package last updated on 24 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc