{"id":24698441,"url":"https://github.com/zero-dependency/fetcher","last_synced_at":"2025-03-22T03:41:33.726Z","repository":{"id":109547498,"uuid":"569159996","full_name":"zero-dependency/fetcher","owner":"zero-dependency","description":"🌍 Flexible fetcher wrapper","archived":false,"fork":false,"pushed_at":"2024-02-09T06:46:56.000Z","size":72,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T04:18:30.380Z","etag":null,"topics":["fetch","javascript","package","typescript","wrapper","zero-dependency"],"latest_commit_sha":null,"homepage":"","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/zero-dependency.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2022-11-22T08:03:22.000Z","updated_at":"2024-11-15T00:01:15.000Z","dependencies_parsed_at":"2023-04-06T10:24:20.288Z","dependency_job_id":"a12bafe1-1338-49da-88f0-88f3cf65d72b","html_url":"https://github.com/zero-dependency/fetcher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"zero-dependency/template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zero-dependency%2Ffetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zero-dependency%2Ffetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zero-dependency%2Ffetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zero-dependency%2Ffetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zero-dependency","download_url":"https://codeload.github.com/zero-dependency/fetcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244902929,"owners_count":20529114,"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":["fetch","javascript","package","typescript","wrapper","zero-dependency"],"created_at":"2025-01-27T04:18:35.001Z","updated_at":"2025-03-22T03:41:33.703Z","avatar_url":"https://github.com/zero-dependency.png","language":"TypeScript","readme":"# @zero-dependency/fetcher\n\n[![npm version](https://img.shields.io/npm/v/@zero-dependency/fetcher)](https://npm.im/@zero-dependency/fetcher)\n[![npm bundle size (scoped)](https://img.shields.io/bundlephobia/minzip/@zero-dependency/fetcher)](https://bundlephobia.com/package/@zero-dependency/fetcher@latest)\n![npm license](https://img.shields.io/npm/l/@zero-dependency/fetcher)\n\n## Installation\n\n```sh\nnpm install @zero-dependency/fetcher\n```\n\n```sh\nyarn add @zero-dependency/fetcher\n```\n\n```sh\npnpm add @zero-dependency/fetcher\n```\n\n## Usage\n\n```ts\nimport { Fetcher, fetcher } from '@zero-dependency/fetcher'\n\ninterface Post {\n  id: number\n  userId: number\n  title: string\n  body: string\n}\n\nconst api = new Fetcher('https://jsonplaceholder.typicode.com')\nconst post = await api.get\u003cPost\u003e('/posts/1')\nconsole.log(post) // { id: 1, userId: 1, ... }\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzero-dependency%2Ffetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzero-dependency%2Ffetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzero-dependency%2Ffetcher/lists"}