Repository navigation
v5.0.3
New Features
- Example Scripts: Added comprehensive examples with support for tsx, Node.js, and Bun runtimes
npm run example- Run with tsxnpm run example:node- Run with Node.js built-in SQLitenpm run example:bun- Run with Bun
- Auto-create Directories: Database adapter now automatically creates parent directories when creating database files
Improvements
- Improved null checks consistency throughout codebase
- Added database file patterns (*.db, *.sqlite, etc.) to .gitignore
- Fixed npm OIDC publishing workflow configuration
- Upgraded to npm v11+ for OIDC trusted publishing support
Installation
```bash
npm install @snomiao/keyv-sqlite
```
Usage
See examples/ for complete usage examples.