{"id":22588707,"url":"https://github.com/jiawei397/oak_cors","last_synced_at":"2026-05-16T22:02:49.704Z","repository":{"id":56738807,"uuid":"420963337","full_name":"jiawei397/oak_cors","owner":"jiawei397","description":"Forked from the nodejs package expressjs cors. Now it is just a simple and opinionated cors middleware for Deno oak.","archived":false,"fork":false,"pushed_at":"2022-05-06T07:29:26.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-06T23:08:58.292Z","etag":null,"topics":["cors","deno","oak","typescript"],"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/jiawei397.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":"2021-10-25T09:42:09.000Z","updated_at":"2024-03-04T07:08:41.000Z","dependencies_parsed_at":"2022-08-16T01:00:50.344Z","dependency_job_id":null,"html_url":"https://github.com/jiawei397/oak_cors","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jiawei397/oak_cors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiawei397%2Foak_cors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiawei397%2Foak_cors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiawei397%2Foak_cors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiawei397%2Foak_cors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jiawei397","download_url":"https://codeload.github.com/jiawei397/oak_cors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiawei397%2Foak_cors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33120450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"last_error":"SSL_read: 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":["cors","deno","oak","typescript"],"created_at":"2024-12-08T08:10:33.772Z","updated_at":"2026-05-16T22:02:49.672Z","avatar_url":"https://github.com/jiawei397.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oak_cors\n\n[![Deno](https://github.com/jiawei397/oak_cors/actions/workflows/deno.yml/badge.svg)](https://github.com/jiawei397/oak_cors/actions/workflows/deno.yml)\n\nForked from the nodejs package\n[expressjs cors](https://github.com/expressjs/cors/blob/master/lib/index.js).\nNow it is just a simple and opinionated cors middleware for Deno\n[oak](https://deno.land/x/oak).\n\n## Example\n\n```typescript\nimport { CORS } from \"https://deno.land/x/oak_cors@v0.1.1/mod.ts\";\nimport { Application } from \"https://deno.land/x/oak/mod.ts\";\n\nconst app = new Application();\napp.use(CORS());\n\n// other middleware\n\nawait app.listen(\":80\");\n```\n\nIf you use the default options, it will work as both `origin: true` and\n`credentials: true`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiawei397%2Foak_cors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiawei397%2Foak_cors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiawei397%2Foak_cors/lists"}