{"library":"drizzle-adapter","type":"library","category":null,"description":"Drizzle Adapter v1.4.0 is the official Drizzle ORM adapter for Node-Casbin, enabling policy storage and retrieval from databases supported by Drizzle ORM (PostgreSQL, MySQL, SQLite, Turso, Neon, PlanetScale, Vercel Postgres, Xata, and more). It uses the Drizzle ORM query builder to interact with databases, providing type-safe and efficient policy management. The package follows the Casbin adapter interface and supports all core Casbin features (RBAC, ABAC, ACL). It requires casbin ^5.0.0 and drizzle-orm >=0.29.0. Active development, weekly releases, and full TypeScript support.","language":"javascript","status":"active","version":"1.4.0","tags":["javascript","casbin","node-casbin","adapter","drizzle","drizzle-orm","access-control","authorization","auth","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install drizzle-adapter","imports":["import DrizzleAdapter from 'drizzle-adapter'","import { casbinRuleSqlite } from 'drizzle-adapter'","await DrizzleAdapter.newAdapter({ db, table })"]},{"cmd":"yarn add drizzle-adapter","imports":[]},{"cmd":"pnpm add drizzle-adapter","imports":[]}],"homepage":"https://casbin.org","github":"https://github.com/node-casbin/drizzle-adapter","docs":null,"changelog":null,"pypi":null,"npm":"drizzle-adapter","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}