insomnia-plugin-postman-export
Version:
This is a plugin for [insomnia](https://insomnia.rest) for exporting its request data in Postman format.
29 lines (19 loc) • 2.07 kB
Markdown
# insomnia-plugin-postman-export
_Update (May 2024): Recently, Postman seems to have added Insomnia import natively - https://learning.postman.com/docs/getting-started/importing-and-exporting/importing-from-insomnia/. Though I haven't tested it yet. Nevertheless, this plugin probably won't be needed anymore._
* Adds 'Export as Postman Collection' option in Collection (Workspace) menu
* Requests can be selected via regex or a csv of request ids (the filters don't work at folder levels currently)
* See todo section in [main.js](https://github.com/Vyoam/insomnia-plugin-postman-export/blob/main/main.js) for limitations and enhancement plans. (Also have some todos listed [here](https://github.com/Vyoam/InsomniaToPostmanFormat/blob/main/convertJsonFile.js), some of which were done as part of the the rejected [PR](https://github.com/Kong/insomnia/pull/3827) but need to be added to the plugin also.)
* Based on https://github.com/Vyoam/InsomniaToPostmanFormat
https://insomnia.rest/plugins/insomnia-plugin-postman-export
https://www.npmjs.com/package/insomnia-plugin-postman-export



Note: request id can be copied from the settings dialog of the request.


###### For reference, Insomnia plugin locations:
MacOS: ~/Library/Application Support/Insomnia/plugins/
Windows: %APPDATA%\Insomnia\plugins\
Linux: $XDG_CONFIG_HOME/Insomnia/plugins/ or ~/.config/Insomnia/plugins/
Ref.: https://docs.insomnia.rest/insomnia/introduction-to-plugins#plugin-file-location