Skip to content

v5.0.3

Choose a tag to compare

@snomiao snomiao released this 03 Feb 17:16
· 22 commits to main since this release

New Features

  • Example Scripts: Added comprehensive examples with support for tsx, Node.js, and Bun runtimes
    • npm run example - Run with tsx
    • npm run example:node - Run with Node.js built-in SQLite
    • npm 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.