{"id":51152934,"url":"https://github.com/yjl9903/drizzle-sqlite","last_synced_at":"2026-06-26T08:00:39.266Z","repository":{"id":357678085,"uuid":"1233556321","full_name":"yjl9903/drizzle-sqlite","owner":"yjl9903","description":"Drizzle-orm Node.js builtin SQLite driver","archived":false,"fork":false,"pushed_at":"2026-06-24T18:54:00.000Z","size":232,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-24T20:20:16.451Z","etag":null,"topics":["drizzle-orm","sqlite"],"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/yjl9903.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["yjl9903"]}},"created_at":"2026-05-09T04:58:17.000Z","updated_at":"2026-06-24T18:53:41.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/yjl9903/drizzle-sqlite","commit_stats":null,"previous_names":["yjl9903/drizzle-sqlite"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yjl9903/drizzle-sqlite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjl9903%2Fdrizzle-sqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjl9903%2Fdrizzle-sqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjl9903%2Fdrizzle-sqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjl9903%2Fdrizzle-sqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjl9903","download_url":"https://codeload.github.com/yjl9903/drizzle-sqlite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjl9903%2Fdrizzle-sqlite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34808043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-26T02:00:06.560Z","response_time":106,"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":["drizzle-orm","sqlite"],"created_at":"2026-06-26T08:00:19.357Z","updated_at":"2026-06-26T08:00:39.259Z","avatar_url":"https://github.com/yjl9903.png","language":"TypeScript","funding_links":["https://github.com/sponsors/yjl9903"],"categories":[],"sub_categories":[],"readme":"# drizzle-sqlite\n\n[![version](https://img.shields.io/npm/v/drizzle-sqlite?label=drizzle-sqlite)](https://www.npmjs.com/package/drizzle-sqlite)\n[![CI](https://github.com/yjl9903/drizzle-sqlite/actions/workflows/ci.yml/badge.svg)](https://github.com/yjl9903/drizzle-sqlite/actions/workflows/ci.yml)\n\nDrizzle-orm Node.js builtin SQLite `node:sqlite` driver.\n\n\u003e [!NOTE]  \n\u003e `node:sqlite` is enabled since Node.js v22.5.0, see [docs](https://nodejs.org/api/sqlite.html).\n\n## Installation\n\n```bash\nnpm i drizzle-orm drizzle-sqlite\n```\n\n## Usage\n\n```typescript\nimport { eq, sql } from 'drizzle-orm';\nimport { integer, sqliteTable, text } from 'drizzle-orm/sqlite-core';\n\nimport { drizzle } from 'drizzle-sqlite';\n\nconst users = sqliteTable('users', {\n  id: integer('id').primaryKey({ autoIncrement: true }),\n  name: text('name').notNull()\n});\n\nconst db = drizzle(':memory:', { schema: { users } });\n\ndb.run(sql`\n  create table users (\n    id integer primary key autoincrement,\n    name text not null\n  )\n`);\n\ndb.insert(users).values({ name: 'Ada' }).run();\ndb.insert(users).values({ name: 'Lin' }).run();\n\nconst ada = await db.select().from(users).where(eq(users.name, 'Ada'));\nconst lin = await db.select().from(users).where(eq(users.name, 'Lin'));\n\nconsole.log(ada, lin);\n\ndb.$client.close();\n```\n\n## Credits\n\nThanks to [drizzle-orm #4346](https://github.com/drizzle-team/drizzle-orm/pull/4346).\n\n## License\n\nMIT License © 2026 [XLor](https://github.com/yjl9903)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjl9903%2Fdrizzle-sqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjl9903%2Fdrizzle-sqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjl9903%2Fdrizzle-sqlite/lists"}