Skip to content

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).

unknown

unknown[]

Promise<ConvertedCollection>