A Node.js implementation of Laravel's Eloquent ORM, providing an ActiveRecord-style interface for database interactions. Current stable version is 0.3.11. Released irregularly; early-stage project with limited documentation and community adoption. Key differentiators: familiar Laravel syntax for Node.js users, supports MySQL and SQLite, includes relationships and migrations. Alternative to Sequelize or TypeORM with Eloquent conventions.
npm install eloquent-orm-nodeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to configure a database connection, define a Model, and fetch all records.
Pin to exact version; expect migration guides for each minor bump.
Always extend Model and define static table property.
Create and configure DatabaseManager at app startup.
Consider using 'eloquentjs' or alternative ORMs like Sequelize or TypeORM.
Run 'npm install eloquent-orm-node@0.3.11' and check node_modules.
Ensure DatabaseManager is instantiated and set before calling Model methods.
Check DB_HOST, DB_USER, DB_PASS environment variables or connection config.