{"id":14483719,"url":"https://github.com/jameslnewell/xhr-mock","last_synced_at":"2025-05-15T21:08:11.267Z","repository":{"id":25012032,"uuid":"28431196","full_name":"jameslnewell/xhr-mock","owner":"jameslnewell","description":"Utility for mocking XMLHttpRequest.","archived":false,"fork":false,"pushed_at":"2022-03-18T12:35:05.000Z","size":1712,"stargazers_count":197,"open_issues_count":32,"forks_count":48,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-08T08:13:46.427Z","etag":null,"topics":["javascript","mock","mock-responses","xhr","xmlhttprequest"],"latest_commit_sha":null,"homepage":"","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/jameslnewell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-24T02:51:16.000Z","updated_at":"2024-10-16T19:40:12.000Z","dependencies_parsed_at":"2022-08-06T06:00:08.442Z","dependency_job_id":null,"html_url":"https://github.com/jameslnewell/xhr-mock","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameslnewell%2Fxhr-mock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameslnewell%2Fxhr-mock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameslnewell%2Fxhr-mock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jameslnewell%2Fxhr-mock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jameslnewell","download_url":"https://codeload.github.com/jameslnewell/xhr-mock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254422789,"owners_count":22068679,"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":["javascript","mock","mock-responses","xhr","xmlhttprequest"],"created_at":"2024-09-03T00:02:02.200Z","updated_at":"2025-05-15T21:08:11.246Z","avatar_url":"https://github.com/jameslnewell.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# xhr-mock\n\nThis repo is a mono-repo managed by `lernajs`.\n\n## [📖 Documentation](./packages/xhr-mock)\n\nThe documentation for the main NPM package can be found [here](./packages/xhr-mock).\n\n## 🛠 Development\n\nInstall the dependencies:\n\n```bash\nyarn\nyarn run bootstrap\n```\n\n### The NPM package\n\nBuild and test the package:\n\n```bash\ncd packages/xhr-mock\nyarn run build # transpile the sources\nyarn run test  # run the unit tests\n```\n\n### The integration tests\n\nTest the package against a few well known XHR libraries:\n\n```bash\n# NOTE: you need to build the main package first\ncd packages/xhr-mock-tests\nyarn run test  # run the integration tests\n```\n\n## 🎁 Contributing\n\nContributors are very welcome! Please raise an issue or PR on Github.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameslnewell%2Fxhr-mock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjameslnewell%2Fxhr-mock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjameslnewell%2Fxhr-mock/lists"}