{"id":16014646,"url":"https://github.com/jsejcksn/deno-kv-sqlite","last_synced_at":"2026-02-07T22:02:45.173Z","repository":{"id":57963263,"uuid":"529411306","full_name":"jsejcksn/deno-kv-sqlite","owner":"jsejcksn","description":"Key-Value storage backed by SQLite","archived":false,"fork":false,"pushed_at":"2024-10-05T18:50:41.000Z","size":30,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-26T01:01:52.918Z","etag":null,"topics":["database","deno","key-value","kv-store","sqlite","sqlite3"],"latest_commit_sha":null,"homepage":"https://deno.land/x/kv_sqlite","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/jsejcksn.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":"2022-08-26T21:37:45.000Z","updated_at":"2024-10-05T18:48:50.000Z","dependencies_parsed_at":"2024-09-08T01:46:16.523Z","dependency_job_id":"4f949070-df93-4482-9f6d-f18119503743","html_url":"https://github.com/jsejcksn/deno-kv-sqlite","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"bf7e53c238045884f1d9aaf67cc7aa1d25536d8a"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/jsejcksn/deno-kv-sqlite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsejcksn%2Fdeno-kv-sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsejcksn%2Fdeno-kv-sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsejcksn%2Fdeno-kv-sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsejcksn%2Fdeno-kv-sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsejcksn","download_url":"https://codeload.github.com/jsejcksn/deno-kv-sqlite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsejcksn%2Fdeno-kv-sqlite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29209844,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T21:35:21.898Z","status":"ssl_error","status_checked_at":"2026-02-07T21:35:20.106Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["database","deno","key-value","kv-store","sqlite","sqlite3"],"created_at":"2024-10-08T15:04:30.013Z","updated_at":"2026-02-07T22:02:45.156Z","avatar_url":"https://github.com/jsejcksn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kv_sqlite\n\nKey-Value storage backed by [SQLite](https://sqlite.org/) (uses\n[`deno.land/x/sqlite`](https://deno.land/x/sqlite))\n\n- JavaScript\n  [`Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map)-like\n  API\n\n- Stores keys and values as strings (like the\n  [Web Storage API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API))\n\n## API documentation\n\nGenerated TypeScript API documentation is available at\n[`https://deno.land/x/kv_sqlite/mod.ts`](https://deno.land/x/kv_sqlite/mod.ts)\n\n## Use\n\n```ts\nimport { openKVDb } from \"https://deno.land/x/kv_sqlite@VERSION/mod.ts\";\n\n// Open a persistent database using the local file system (it will be created if necessary):\nconst kv = openKVDb(\"path/to/kv-database.sqlite3\");\n\n// Or open a database in-memory (not persisted)\n// const kv = openKVDb();\n\nkv.set(\"hello\", \"world\");\nconsole.log(kv.get(\"hello\")); // \"world\"\n\n// Retrieving values for non-existing keys returns `null`\nconsole.log(kv.get(\"not a key yet\")); // null\n\n// Has convenience methods for working with JSON-serializable values:\nkv.json.set(\"foo\", { bar: \"baz\" });\nconsole.log(kv.json.get(\"foo\").bar); // \"baz\"\n\nconsole.log(kv.size); // 2\n\n// Be careful with this method (it deletes everything from the database!)\nkv.clear();\nconsole.log(kv.size); // 0\n\n// Close the database when finished to avoid leaking resources:\nkv.close();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsejcksn%2Fdeno-kv-sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsejcksn%2Fdeno-kv-sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsejcksn%2Fdeno-kv-sqlite/lists"}