Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
postman-environment-generator
Advanced tools
An app that creates a Postman environment for all the variable names in your Postman collection
An NodeJS app that creates a Postman environment for all the variable names in your Postman collection.
For more information on Postman, Postman-collections and Postman-environments, check out Postman
This app was born to serve the following, specific use case:
Say that you import a huge collection in a workspace that has tonnes of environment variables embedded inside out it (In the form of {{variable}}
). Now you need an environment that contains all those variables but, manually creating them would be cumbersome. Hence, you use this app, which takes a JSON
file as input and using the Postman API, creates an environment for you in the given workspace, containing all those variables.
10.15.0+
6.4.1+
7.0.0+
npm install
utf-8
.node index.js <absolute-path-to-collection-file> <name-that-environment-should-get> <postman-api-key> <workspace-id>
The
workspace-id
is an optional parameter. Not giving the workspace Id will add the environment to your default workspace. To get the workspace-id, follow these steps:
- Log into the postman app
- Select any collection
- Click on the right arrow beside the collection name
- Click on 'View in Web'
- The opened browser window contains url of the form:
https://postman.co/collections/xyz-uuid?version=latest&workspace=uuid
- Copy the workspace Id.
Running:
node index.js ~/Downloads/collections/my-collection.json ImportedCollection 74a2bdd31eeb457a88c9a3342c7c8f81 404891cb-a247-4508-81dc-38f745118221
Will create an environment called 'ImportedCollection' with all environment variables present in the collection file located at ~/Downloads/collections/my-collection.json
, in the workspace with the id 404891cb-a247-4508-81dc-38f745118221
.
FAQs
An app that creates a Postman environment for all the variable names in your Postman collection
The npm package postman-environment-generator receives a total of 4 weekly downloads. As such, postman-environment-generator popularity was classified as not popular.
We found that postman-environment-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.