{"id":20809588,"url":"https://github.com/nestarz/query_d1","last_synced_at":"2026-05-05T10:31:08.606Z","repository":{"id":65053816,"uuid":"581347455","full_name":"nestarz/query_d1","owner":"nestarz","description":"Query D1 outside Cloudflare Workers using Cloudflare API call","archived":false,"fork":false,"pushed_at":"2022-12-25T17:20:21.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-20T08:17:24.450Z","etag":null,"topics":["cloudflare","cloudflare-workers","d1","deno","deno-deploy"],"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/nestarz.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":"2022-12-22T23:43:15.000Z","updated_at":"2023-09-09T07:59:31.000Z","dependencies_parsed_at":"2023-01-13T15:22:59.789Z","dependency_job_id":null,"html_url":"https://github.com/nestarz/query_d1","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nestarz%2Fquery_d1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nestarz%2Fquery_d1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nestarz%2Fquery_d1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nestarz%2Fquery_d1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nestarz","download_url":"https://codeload.github.com/nestarz/query_d1/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243155018,"owners_count":20245020,"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":["cloudflare","cloudflare-workers","d1","deno","deno-deploy"],"created_at":"2024-11-17T20:14:49.845Z","updated_at":"2025-12-24T10:44:01.299Z","avatar_url":"https://github.com/nestarz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# query_d1\n\nQuery D1 outside Cloudflare Workers using Cloudflare API call\n\n## Usage\n\n```ts\nimport queryD1Database from \"https://deno.land/x/query_d1/mod.ts\";\n\nconst db = queryD1Database({\n  accountId: Deno.env.get(\"CF_ACCOUNT_ID\"),\n  accountEmail: Deno.env.get(\"CF_ACCOUNT_EMAIL\"),\n  apiToken: Deno.env.get(\"CF_API_TOKEN\"),\n  databaseUuid: Deno.env.get(\"CF_DATABASE_UUID\"),\n});\n\nawait db.query(\"SELECT * FROM texts WHERE id = ?1\", [1]);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnestarz%2Fquery_d1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnestarz%2Fquery_d1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnestarz%2Fquery_d1/lists"}