soul-orm is a lightweight, promise-based ORM for Node.js that supports MySQL, PostgreSQL, SQLite, and MSSQL. Version 1.2.0 is the latest stable release, with monthly releases. It features a fluent query builder with chainable methods like where, order, limit, and field, and provides a simple transaction API via beginTx/commit/rollback. Unlike heavy ORMs like Sequelize or TypeORM, Soul ORM focuses on a minimal API surface and zero-config setup, but it lacks advanced features like relations and migrations. It ships TypeScript types.
npm install soul-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a connection, querying with where/order/select, inserting, and deleting.
Use async/await or .then() instead of callbacks.
Replace .field('name','age') with .columns('name','age').Create a new table instance for each query: db.table('user') every time.Use a single level of transaction; commit or rollback before starting another.
Upgrade to 1.2.0 or use .find() with a null check.
Change to: import { createConnection } from 'soul-orm';Add await before the query call: const users = await db.table('user').where({...}).select();No dependency data recorded yet.