{"id":17084532,"url":"https://github.com/nsaunders/xhr2-test","last_synced_at":"2026-05-16T13:32:21.421Z","repository":{"id":57159096,"uuid":"128796155","full_name":"nsaunders/xhr2-test","owner":"nsaunders","description":"Monkey-patch the xhr2 library for testing","archived":false,"fork":false,"pushed_at":"2019-05-24T23:12:07.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T17:13:59.496Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/nsaunders.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}},"created_at":"2018-04-09T15:47:44.000Z","updated_at":"2018-04-10T22:58:36.000Z","dependencies_parsed_at":"2022-09-08T10:40:08.294Z","dependency_job_id":null,"html_url":"https://github.com/nsaunders/xhr2-test","commit_stats":null,"previous_names":["therealnicksaunders/xhr2-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nsaunders/xhr2-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsaunders%2Fxhr2-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsaunders%2Fxhr2-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsaunders%2Fxhr2-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsaunders%2Fxhr2-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nsaunders","download_url":"https://codeload.github.com/nsaunders/xhr2-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nsaunders%2Fxhr2-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33104446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-14T13:07:54.061Z","updated_at":"2026-05-16T13:32:21.406Z","avatar_url":"https://github.com/nsaunders.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xhr2-test\nMonkey-patch the xhr2 library for testing.\n\nIf you are using xhr2 to test your AJAX code in a Node context, then this tool might be for you. It allows you to add an\narbitrary prefix to any URL requested by xhr2. Most likely, you would use this to forward all requests to a test server\nthat provides a known response for a given request.\n\nFor example, if your code makes a request to https://api.foo.ly/bar, you can run ```xhr2-test http://localhost:8080/```\nto send the request to http://localhost:8080/https://api.foo.ly/bar instead.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsaunders%2Fxhr2-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnsaunders%2Fxhr2-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnsaunders%2Fxhr2-test/lists"}