
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@ahmedrowaihi/postman-sdk
Advanced tools
postman-sdk is a utility library that converts a Postman collection json file into axios client class.
To run the utility, you need to have Node.js installed on your machine. You can download it from here.
To install the utility, run the following command:
npm install -g postman-sdk
or using npx:
npx postman-sdk
Example To generate a TypeScript SDK, run the following command:
postman-sdk --ts --s ./collections/BigCollection.json --o ./SDK.ts --b https://api.example.com
Option | Description | Default | required |
---|---|---|---|
--src , -s | Path to the Postman Collection | ./collections/BigCollection.json | Yes |
--out , -o | Path to the output file | ./SDK.ts | No |
--baseURL , -b | Base URL for the API | https://api.example.com | No |
--typescript , -ts | Generate a TypeScript SDK | true | No |
--commonjs , -c | Generate a CommonJS SDK | false | No |
--help , -h | Show this help message | false | No |
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
FAQs
Convert Postman collection into javascript SDK
We found that @ahmedrowaihi/postman-sdk 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.