{"id":26869745,"url":"https://github.com/iietmoon/postsync","last_synced_at":"2025-10-08T16:05:09.582Z","repository":{"id":281267412,"uuid":"944555492","full_name":"iietmoon/postsync","owner":"iietmoon","description":"PostSync turns your Postman collection into a type-safe, auto-synced API client.","archived":false,"fork":false,"pushed_at":"2025-04-05T21:32:58.000Z","size":373,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-17T01:48:06.179Z","etag":null,"topics":["fetch","fetch-api","nodejs","npm","postman"],"latest_commit_sha":null,"homepage":"https://iietmoon.github.io/postsync/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iietmoon.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-07T14:57:06.000Z","updated_at":"2025-04-05T21:33:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"b7a81b7f-a7ec-43c8-9a38-d11b706a3810","html_url":"https://github.com/iietmoon/postsync","commit_stats":null,"previous_names":["iietmoon/postsync"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iietmoon/postsync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iietmoon%2Fpostsync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iietmoon%2Fpostsync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iietmoon%2Fpostsync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iietmoon%2Fpostsync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iietmoon","download_url":"https://codeload.github.com/iietmoon/postsync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iietmoon%2Fpostsync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278470181,"owners_count":25992203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fetch","fetch-api","nodejs","npm","postman"],"created_at":"2025-03-31T06:18:35.608Z","updated_at":"2025-10-08T16:05:09.577Z","avatar_url":"https://github.com/iietmoon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"#\"\u003e\n    \u003cimg src=\"/.github/ressources/PostSync.svg\" alt=\"logo\" width=\"175px\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003ch2 align=\"center\"\u003eSync Your Postman Docs. Power Your API.\u003c/h2\u003e\n\nPostSync turns your Postman collection into a type-safe, auto-synced API client. Generate TypeScript-safe calls, streamline fetch requests, and integrate seamlessly.\n\n## 🚀 Features\n\n- 🔄 **Postman Integration** – Convert Postman collections into structured API clients.\n- 🔒 **Type-Safe API Calls** – Fully typed request and response handling.\n- ⚡ **Automated Fetch Requests** – No more manual API configurations.\n- 🛠️ **Standardized Error Handling** – Centralized response processing.\n- 📄 **Auto-Generated Endpoints** – Keep your API in sync with your documentation.\n\n## 📦 Installation\n\n```sh\nnpm install postsync\n```\n\nor\n\n```sh\nyarn add postsync\n```\n\n## 🔧 Usage\n\n```typescript\nimport { createApiClient } from 'postsync';\nimport postmanDoc from './postman-collection.json';\n\nconst api = createApiClient(postmanDoc, {\n  baseUrl: 'https://api.example.com',\n  defaultHeaders: { 'Content-Type': 'application/json' }\n});\n\nasync function getUserData(userId: string) {\n  const user = await api.users.get.getUserById({ pathParams: { id: userId } });\n  return user;\n}\n```\n\n## 📖 Why Use PostSync?\n\n✅ **Automates API Integration** – No more repetitive fetch configurations.  \n✅ **Keeps Documentation \u0026 Code in Sync** – Update Postman, and your client updates too.  \n✅ **Boosts Developer Productivity** – Focus on features, not API calls.  \n✅ **Reduces Bugs** – Type safety ensures valid requests every time.  \n\n## 🤝 Contributing\n\nContributions are welcome! Feel free to open issues or submit PRs to improve PostSync.\n\n## 📜 License\n\nMIT License © 2025 PostSync# postsync\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiietmoon%2Fpostsync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiietmoon%2Fpostsync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiietmoon%2Fpostsync/lists"}