xorm

JSON →
library 0.7.6 ·javascript
verified Jun 5, 2026

xorm is a Node.js ORM wrapper around Objection.js (v0.7.6) that adds conventions like automatic table naming (model class name), managed timestamps (createdAt/updatedAt), and soft delete support with methods like withTrashed/forceDelete. It requires knex (>=0.19.0 <1.0) as the SQL query builder and sm-utils. It is maintained by Smartprix, with moderate release cadence. Key differentiators vs. Objection: less boilerplate, built-in timestamp/soft-delete lifecycle hooks.