Simple SQL Model

JSON →
library 0.9.4 ·javascript
verified Jun 5, 2026

A lightweight, Rails-style model wrapper around the `sql` library for Node.js. Version 0.9.4 provides CRUD operations, query methods (findOne, findMany, count), hooks (before/after create/update/destroy), and foreign key reference expansion. It relies on ES6+ features (async/await, classes) and requires Node >=4.8.1. The package is explicitly marked as unstable and not recommended for production use. It is database-agnostic, supporting any SQL dialect that the `sql` module supports (e.g., PostgreSQL, MySQL). Release cadence is irregular; the last commit was in 2019.