A Node.js ORM for key-value datastores, currently at version 0.3.2. Provides a model-based abstraction layer over KV stores like Cloudflare Workers KV, offering schema validation, relationship handling, and CRUD operations. Ships TypeScript types. Release cadence is low; pre-1.0 so APIs may break. Differentiates from raw KV clients by providing an ORM-style interface with models, attributes, and queries. Suited for simple KV-backed applications but not for complex relational needs.
npm install kv-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Defines a User model with schema, creates a new user, saves it to a KV store, retrieves it, and deletes it.
Pin to exact version and test on upgrade.
Always call .save() after modifying instance properties.
Use public API documented in README.
Run: npm install kv-orm Ensure your project uses ES modules (type: 'module' in package.json or .mjs extension)
Use: import { Model } from 'kv-orm'No dependency data recorded yet.