# postmanlabs/postman-code-generators

Common repository for all code generators shipped with Postman

Repository: https://github.com/postmanlabs/postman-code-generators
Canonical: https://ross.abutalabs.com/products/postman-code-generators
Language: JavaScript
License: Apache-2.0
License Family: permissive
Topics: code-generators, postman-collection, postman, converter
Last push: 2026-07-25T15:06:40+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 94, release rhythm 62, longevity 100
- inputs: {"age_days": 2697, "days_push": 39, "days_rel": 176, "gap_med": 66.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1045, forks 382 (observed 2026-08-28T04:03:21.404147+00:00)

## What it is
A Node.js library that converts Postman SDK Request objects into ready-to-run HTTP request code snippets across 30+ language and variant combinations (cURL, Python Requests, JavaScript Fetch, Go, Rust, Java, and more). It is the common repository for all code generators shipped with the Postman API platform and can also be embedded into other tools via its convert, getLanguageList, and getOptions APIs.

## Use cases
- generate a curl command from a postman request
- convert http request definition to python requests code
- generate api call snippets in multiple programming languages
- convert postman collection requests into axios or fetch code
- produce java okhttp or go native request code from an api definition
- build a tool that shows users how to call an api in their language of choice

## When to choose
- you need to programmatically turn Postman Request objects into executable client code snippets
- you are building developer tooling that must display sample API calls in many languages and HTTP libraries
- you want the exact code generators that ship inside the Postman app, under an Apache-2.0 license

## When to avoid
- you need to execute HTTP requests rather than generate their source code
- you want OpenAPI or Swagger spec to full client SDK generation rather than per-request snippets
- your environment has no Node.js runtime, since the library requires NodeJS >= v8

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools
- domain: developer-tools, web-development, apis
- platform: -
- tags: code-generation, postman, http-snippets, request-conversion, api-development, curl, converter, nodejs

## Member repositories
- postmanlabs/postman-code-generators (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:21.404147+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:02:07.355742+00:00, confidence not recorded.
  - readme: https://github.com/postmanlabs/postman-code-generators (fetched 2026-08-28T04:03:21.404147+00:00, sha 794ffb4b9e85)
- Data as of 2026-08-30T08:39:29.467469+00:00.
