{"id":16640231,"url":"https://github.com/ysm-dev/deno_kv_http","last_synced_at":"2025-07-22T09:33:41.641Z","repository":{"id":189436084,"uuid":"680675261","full_name":"ysm-dev/deno_kv_http","owner":"ysm-dev","description":"🦕 Deno KV HTTP wrapper.","archived":false,"fork":false,"pushed_at":"2023-08-20T15:40:31.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-21T02:39:51.243Z","etag":null,"topics":[],"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/ysm-dev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-20T03:00:43.000Z","updated_at":"2023-08-20T03:40:21.000Z","dependencies_parsed_at":"2025-01-18T12:49:17.217Z","dependency_job_id":"80971f8e-98a6-493c-a400-b436c7199013","html_url":"https://github.com/ysm-dev/deno_kv_http","commit_stats":null,"previous_names":["ysm-dev/deno-kv-http"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ysm-dev/deno_kv_http","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysm-dev%2Fdeno_kv_http","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysm-dev%2Fdeno_kv_http/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysm-dev%2Fdeno_kv_http/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysm-dev%2Fdeno_kv_http/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ysm-dev","download_url":"https://codeload.github.com/ysm-dev/deno_kv_http/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysm-dev%2Fdeno_kv_http/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266465441,"owners_count":23933124,"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":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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-10-12T07:08:13.943Z","updated_at":"2025-07-22T09:33:41.599Z","avatar_url":"https://github.com/ysm-dev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deno_kv_http\n\nA simple HTTP wrapper for [Deno KV](https://deno.land/manual@v1.36.1/runtime/kv) which you can use in other runtime (e.g. Node.js, Browser, Vercel Edge runtime, Cloudflare Workers).\n\n## Usage\n\n- Create new Deno Deploy project: https://dash.deno.com/new\n\n- Select `Hello World` - `Try with playground`\n\n![](https://bafkreifdnt5iqvdtswgdgjgnuh4iavvzybits32kmuhsrcn7ouvnwqqhlq.ipfs.dweb.link/)\n\n- Copy \u0026 Paste this code to Deno Deploy editor.\n\n```ts\nimport { HttpDenoKv } from \"https://deno.land/x/deno_kv_http/mod.ts\";\n\nDeno.serve((req: Request) =\u003e HttpDenoKv(req));\n```\n\n- Click ▶︎ Save \u0026 Deploy button.\n\n![](https://bafkreidk7dumeh3mutr3gtg5xtxtslabdofiimclfyl5vx454yb4jdbzga.ipfs.dweb.link/)\n\n- Copy your Deno Deploy URL. (e.g. `https://your-project.deno.dev`)\n\n- Install `deno-kv-http` to your project.\n\n```sh\npnpm install deno-kv-http\n```\n\n```ts\nimport { DenoKvHttp } from \"deno-kv-http\";\n\nconst URL = \"https://your-project.deno.dev\";\n\nconst kv = HttpDenoKv(URL);\n```\n\n```ts\nawait kv.set([\"foo\", 1n, crypto.randomUUID()], crypto.randomUUID());\n\nawait kv.set([\"foo\", 2n], \"foo2\");\n\nconst r2 = await kv.get\u003cstring\u003e([\"foo\", 1n]);\n\nawait kv.delete([\"foo\"]);\n\nconst r4 = await kv.get([\"foo\"]);\n\nconst iter = kv.list({ prefix: [\"foo\"] }, { limit: 100 });\n\nfor await (const entry of iter) {\n  console.log(entry);\n}\n\nconst r = await kv.getMany([\n  [\"foo\", 1n],\n  [\"foo\", 2n],\n]);\n```\n\n- `kv.atomic()`, `kv.close()` not supported yet.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysm-dev%2Fdeno_kv_http","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fysm-dev%2Fdeno_kv_http","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysm-dev%2Fdeno_kv_http/lists"}