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, and Postman environments into Bruno collection format.
Installation
Make sure you have Node.js (Node 18 or higher) installed on your local system. It is recommended to use the latest LTS version.
To install the Bruno Converters, use the node package manager of your choice:
Using pnpm
pnpm install @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