4,662

Postman to API

Postman collections → API services

Postman to API: Postman collections → API services, built by Karan Kumar
Role
Creator and maintainer
Platforms
CLI, Web
Status
Live

Overview

Postman to API generates ready-to-use API service files from a Postman collection with one command. Instead of hand-writing a function for every endpoint, you point it at your collection and get typed service code back.

I built it to stop repeating the same boilerplate on every client project. It is open source and published on npm as postman-to-api.

What I built

  • Node.js CLI that reads Postman collections and writes API service files
  • Auth support for collections that need tokens or headers
  • Interactive mode that walks you through the options
  • Generated code that uses Axios, written in TypeScript
  • A companion site at postman-to-api.karandev.in

Tech stack

  • Node.js
  • CLI
  • TypeScript
  • Axios

Need something like Postman to API built? I take on full-time remote roles and freelance projects.

Get in touch
“It always seems impossible until it's done.”
Nelson Mandela

© 2026. Built with hands.