A lightweight SQL ORM for Node.js inspired by Laravel's query builder, allowing fluent method chaining (table, where, select, orderBy, groupBy, skip/take, aggregate functions) and raw queries. Version 1.0.9 is the latest, released with minimal documentation and no clear release cadence. Key differentiators: simple API, MySQL-only, no TypeScript support, no connection pooling, no migrations. Suitable for small projects but lacks advanced features and has limited community adoption.
npm install simple-sql-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows instantiation and basic query building with promises. The ORM returns promises for async operations.
Consider using a connection pool wrapper or switch to a more robust ORM like Sequelize.
Verify actual behavior; expected: `GROUP BY first_name`.
Always validate and escape user inputs before passing to ORM methods.
Use `import { ORM } from 'simple-sql-orm'` or `const { ORM } = require('simple-sql-orm')`.Create your own declaration file or use with `// @ts-ignore`.
Run `npm install simple-sql-orm` in your project directory.
Use `const { ORM } = require('simple-sql-orm')` or `import { ORM } from 'simple-sql-orm'`.Use `npm install mysql2` instead of `mysql` and change connection logic, or alter MySQL user to use mysql_native_password.
Ensure methods are invoked with parentheses: `orm.table('users').get()`.