{"id":18897123,"url":"https://github.com/boywithkeyboard-archive/turnstile","last_synced_at":"2026-01-07T10:04:39.190Z","repository":{"id":169172891,"uuid":"645072359","full_name":"boywithkeyboard-archive/turnstile","owner":"boywithkeyboard-archive","description":"A type-safe server-side validator for Turnstile, Cloudflare's free CAPTCHA solution.","archived":false,"fork":false,"pushed_at":"2024-09-16T04:16:24.000Z","size":56,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-22T08:02:29.610Z","etag":null,"topics":["cjs","cloudflare","deno","esm","javascript","node","turnstile","typescript"],"latest_commit_sha":null,"homepage":"https://npmjs.com/@boywithkeyboard/turnstile","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/boywithkeyboard-archive.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"boywithkeyboard"}},"created_at":"2023-05-24T21:33:38.000Z","updated_at":"2024-06-27T00:48:53.000Z","dependencies_parsed_at":"2024-03-14T10:31:22.013Z","dependency_job_id":"0f2c1a43-851a-46b6-bad4-a404d7f3ea1e","html_url":"https://github.com/boywithkeyboard-archive/turnstile","commit_stats":{"total_commits":33,"total_committers":2,"mean_commits":16.5,"dds":0.4242424242424242,"last_synced_commit":"68912debe1b17b123e44769e92c3bd00086b15c0"},"previous_names":["boywithkeyboard/turnstile","deaddeno/turnstile","boywithkeyboard-archive/turnstile"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/boywithkeyboard-archive/turnstile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boywithkeyboard-archive%2Fturnstile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boywithkeyboard-archive%2Fturnstile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boywithkeyboard-archive%2Fturnstile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boywithkeyboard-archive%2Fturnstile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boywithkeyboard-archive","download_url":"https://codeload.github.com/boywithkeyboard-archive/turnstile/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boywithkeyboard-archive%2Fturnstile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28234569,"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","status":"online","status_checked_at":"2026-01-07T02:00:05.975Z","response_time":58,"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":["cjs","cloudflare","deno","esm","javascript","node","turnstile","typescript"],"created_at":"2024-11-08T08:36:21.997Z","updated_at":"2026-01-07T10:04:39.160Z","avatar_url":"https://github.com/boywithkeyboard-archive.png","language":"TypeScript","funding_links":["https://github.com/sponsors/boywithkeyboard"],"categories":[],"sub_categories":[],"readme":"## turnstile\n\n\u003e [!IMPORTANT]  \n\u003e Please [read this article](https://developers.cloudflare.com/turnstile/get-started/server-side-validation) to learn more.\n\n### Setup\n\n#### Deno\n\n```ts\nimport { turnstile } from 'https://esm.sh/@boywithkeyboard/turnstile'\n```\n\n#### Node.js\n\n```bash\nnpm i @boywithkeyboard/turnstile\n```\n\n```ts\nimport { turnstile } from '@boywithkeyboard/turnstile'\n```\n\n### Usage\n\n```ts\nasync function handleRequest(req) {\n  const body = await req.formData()\n\n  const result = await turnstile.verify({\n    secret: '...',\n    response: body.get('cf-turnstile-response'),\n    ip: req.headers.get('cf-connecting-ip')\n  })\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboywithkeyboard-archive%2Fturnstile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboywithkeyboard-archive%2Fturnstile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboywithkeyboard-archive%2Fturnstile/lists"}