{"id":17917539,"url":"https://github.com/simplesmiler/taxios","last_synced_at":"2025-03-23T23:31:00.382Z","repository":{"id":44531821,"uuid":"281176183","full_name":"simplesmiler/taxios","owner":"simplesmiler","description":"Typed wrapper over axios","archived":false,"fork":false,"pushed_at":"2023-11-14T13:01:47.000Z","size":1269,"stargazers_count":13,"open_issues_count":14,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-14T18:18:36.522Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simplesmiler.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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}},"created_at":"2020-07-20T16:57:35.000Z","updated_at":"2024-06-20T00:09:55.595Z","dependencies_parsed_at":"2023-11-14T13:45:16.433Z","dependency_job_id":"ad3db174-ac15-4e39-a2c3-c980fa19c028","html_url":"https://github.com/simplesmiler/taxios","commit_stats":{"total_commits":118,"total_committers":3,"mean_commits":"39.333333333333336","dds":0.03389830508474578,"last_synced_commit":"33f7649b3cca5c6c848bc97df1e71e20c082b505"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplesmiler%2Ftaxios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplesmiler%2Ftaxios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplesmiler%2Ftaxios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplesmiler%2Ftaxios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplesmiler","download_url":"https://codeload.github.com/simplesmiler/taxios/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244332701,"owners_count":20436109,"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","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":[],"created_at":"2024-10-28T20:07:45.162Z","updated_at":"2025-03-23T23:30:59.800Z","avatar_url":"https://github.com/simplesmiler.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `taxios`\n\n\u003e TypeScript wrapper over Axios.\n\n## Use\n\nInstall packages.\n\n```sh\nnpm i axios @simplesmiler/taxios\nnpm i -D @simplesmiler/taxios-generate\n```\n\nGenerate typings with [@simplesmiler/taxios-generate](https://github.com/simplesmiler/taxios/tree/master/packages/taxios-generate).\n\n```sh\nnpx taxios-generate -o PetStore.ts -e PetStore https://petstore.swagger.io/v2/swagger.json\n```\n\nUse typings with [@simplesmiler/taxios](https://github.com/simplesmiler/taxios/tree/master/packages/taxios).\n\n```ts\nimport axios from 'axios';\nimport { Taxios } from '@simplesmiler/taxios';\n\n// Import generated typings\nimport { PetStore } from './PetStore';\n\n// Create axios client and taxios wrapper\nconst taxios = new Taxios\u003cPetStore\u003e(axios.create({ baseURL: 'https://petstore.swagger.io/v2' }));\n\n// Make request\nconst pet = await taxios.get('/pet/{petId}', { params: { petId: 1 } });\n```\n\n## Develop\n\n1. Clone repo\n2. `npm ci`\n3. Change something in `taxios` or `taxios-generate` package\n4. Test by running scripts in `taxios-sandbox` package\n\n## Publish\n\n1. `npm run build`\n2. `npm run publish`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplesmiler%2Ftaxios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplesmiler%2Ftaxios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplesmiler%2Ftaxios/lists"}