{"id":19324638,"url":"https://github.com/soarez/turbo-cors","last_synced_at":"2026-06-13T04:32:38.011Z","repository":{"id":13670034,"uuid":"16363702","full_name":"soarez/turbo-cors","owner":"soarez","description":"a hack to bypass preflight requests","archived":false,"fork":false,"pushed_at":"2014-01-30T10:05:24.000Z","size":136,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-05-02T10:36:58.744Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://soarez.github.io/turbo-cors/","language":"JavaScript","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/soarez.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-01-30T00:07:15.000Z","updated_at":"2026-03-05T15:27:30.000Z","dependencies_parsed_at":"2022-07-30T15:18:12.906Z","dependency_job_id":null,"html_url":"https://github.com/soarez/turbo-cors","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/soarez/turbo-cors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soarez%2Fturbo-cors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soarez%2Fturbo-cors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soarez%2Fturbo-cors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soarez%2Fturbo-cors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soarez","download_url":"https://codeload.github.com/soarez/turbo-cors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soarez%2Fturbo-cors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34272603,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-11-10T02:06:08.649Z","updated_at":"2026-06-13T04:32:37.995Z","avatar_url":"https://github.com/soarez.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# turbo-cors\n\n\n\u003e Because currently CORS sends twice more requests than needed, which makes it slower than alternative cross domain transports \u0026 overloads API with pointless payloads.\n\nInspired by [blog](http://homakov.blogspot.pt/2014/01/how-to-use-cors-without-preflights.html) post from [@homakov](https://twitter.com/homakov/status/428370724672110592).\n\nThe basic idea is to bypass the CORS preflight request by putting the actual method and the extra headers on the `Accept` header.\n\n## usage\n\n1. clone the repo\n2. cd into it, `npm install`\n3. `node server`\n4. point your browser to `http://localhost:8000`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoarez%2Fturbo-cors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoarez%2Fturbo-cors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoarez%2Fturbo-cors/lists"}