Bruno Converters
Bruno converter is a standalone NPM package that provides programmatic conversion of various API specification formats to Bruno collections. This package allows you to convert Postman collections, Insomnia collections, OpenAPI specifications, WSDL files, and Postman environments into Bruno collection format.
Installation
To install the Bruno Converters, use the node package manager of your choice:
Using pnpm
pnpm install @usebruno/converters
Using npm
npm install @usebruno/converters
Using yarn
yarn add @usebruno/converters
For more details, visit the official NPM Page for Bruno Converters
Conversions
API Reference
postmanToBruno(postmanCollection: object)
Converts a Postman collection to a Bruno collection.
Parameters:
- postmanCollection: The Postman collection JSON object
postmanToBrunoEnvironment(postmanEnvironment: object)
Converts a Postman environment to a Bruno environment.
Parameters:
- postmanEnvironment: The Postman environment JSON object
insomniaToBruno(insomniaCollection: object)
Converts an Insomnia collection to a Bruno collection.
Parameters:
- insomniaCollection: The Insomnia collection JSON object
openApiToBruno(openApiSpec: object)
Converts an OpenAPI specification to a Bruno collection.
Parameters:
- openApiSpec: The OpenAPI specification JSON object
wsdlToBruno(wsdlContent: string)
Converts a WSDL file to a Bruno collection with SOAP requests.
Parameters:
- wsdlContent: The WSDL file content as a string