convertCollection
convertCollection(
collection,environments):Promise<ConvertedCollection>
Defined in: convert-collection.ts:35
Converts one v2.1 collection (and the environments that go with it) to Bruno’s own JSON export: Bruno’s reader turns
it into a Bruno collection and rewrites its pm.* scripts to bru.* / req.*, and the environments go inside the
file (a secret-type variable is marked secret).
Parameters
Section titled “Parameters”collection
Section titled “collection”unknown
environments
Section titled “environments”unknown[]
Returns
Section titled “Returns”Promise<ConvertedCollection>