Sutando is a modern Node.js ORM (v1.7.4, stable) supporting MySQL, MariaDB, SQLite, PostgreSQL, and MSSQL. It follows an Active Record pattern similar to Laravel's Eloquent, making database interactions intuitive. Active development with frequent releases. Key differentiators: fluent query builder, migrations, seeders, model relationships, and full TypeScript support. Designed for Node.js 14+ and pnpm.
npm install sutandoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic setup with SQLite: configure knex connection, define a model, create and query records.
Use ES import syntax and set "type": "module" in package.json, or use dynamic import() if needed.
Use `get table() { return 'users'; }` instead of `table = 'users'`.npm install knex and then import knex from 'knex' and use Sutando.instance.useKnex(knex({...})).Check the v1.0 migration guide and use current API (e.g., .get() instead of .fetch()).
Ensure sutando is installed (npm install sutando) and use import syntax. If required, use dynamic import.
Use `import sutando from 'sutando'` for the default instance, or use named exports like `import { Sutando } from 'sutando'`.Define `get table() { return 'users'; }` inside the User class.