{"id":13456334,"url":"https://github.com/qubyte/fetch-ponyfill","last_synced_at":"2025-05-16T11:05:27.474Z","repository":{"id":25118412,"uuid":"28540017","full_name":"qubyte/fetch-ponyfill","owner":"qubyte","description":"WHATWG fetch ponyfill","archived":false,"fork":false,"pushed_at":"2022-01-25T11:21:11.000Z","size":801,"stargazers_count":235,"open_issues_count":4,"forks_count":38,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-03T02:07:37.041Z","etag":null,"topics":["fetch","fetch-api","javascript","ponyfill","whatwg"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/qubyte.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-27T15:38:54.000Z","updated_at":"2024-12-08T09:16:33.000Z","dependencies_parsed_at":"2022-07-15T18:30:35.618Z","dependency_job_id":null,"html_url":"https://github.com/qubyte/fetch-ponyfill","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubyte%2Ffetch-ponyfill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubyte%2Ffetch-ponyfill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubyte%2Ffetch-ponyfill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qubyte%2Ffetch-ponyfill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qubyte","download_url":"https://codeload.github.com/qubyte/fetch-ponyfill/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252436291,"owners_count":21747470,"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","fetch-api","javascript","ponyfill","whatwg"],"created_at":"2024-07-31T08:01:20.050Z","updated_at":"2025-05-16T11:05:22.467Z","avatar_url":"https://github.com/qubyte.png","language":"JavaScript","readme":"# Fetch Ponyfill\n\n\u003e WHATWG `fetch` [ponyfill](https://ponyfill.com)\n\nThis module wraps the [github/fetch](https://github.com/github/fetch) polyfill in a CommonJS module\nfor browserification, and avoids appending anything to the window, instead returning a setup\nfunction when `fetch-ponyfill` is required. Inspired by\n[object-assign](https://github.com/sindresorhus/object-assign).\n\nWhen used in Node, delegates to `node-fetch` instead.\n\n## Usage\n\n### Browserify\n\n```javascript\nconst {fetch, Request, Response, Headers} = require('fetch-ponyfill')(options);\n```\n\n### Webpack\n\n```javascript\nimport fetchPonyfill from 'fetch-ponyfill';\nconst {fetch, Request, Response, Headers} = fetchPonyfill(options);\n```\n\n### Options\n\nWhere `options` is an object with the following optional properties:\n\n| option | description |\n| ------ | ----------- |\n| `Promise` | An A+ Promise implementation. Defaults to `window.Promise` in the browser, and `global.Promise` in Node. |\n| `XMLHttpRequest` | The XMLHttpRequest constructor. This is useful to feed in when working with Firefox OS. Defaults to `window.XMLHttpRequest`. Has no effect in Node. |\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqubyte%2Ffetch-ponyfill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqubyte%2Ffetch-ponyfill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqubyte%2Ffetch-ponyfill/lists"}