A lightweight MVC scaffolding library for Express.js 4.x that integrates node-orm2 for database modeling. Version 1.1.0 is the latest stable release; the package appears to be in maintenance mode with no recent updates. It provides a structured folder convention (models/controllers/views/config) and auto-loads models/controllers with Express and ORM configuration files. Unlike full-fledged MVC frameworks like Sails.js or Adonis, this is a minimal helper that gives developers full control over Express and ORM setup, making it suitable for small to medium projects that need a clean separation of concerns without heavy abstractions.
npm install express-orm-mvcNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal setup showing folder structure, settings, Express/ORM config, a model, a controller, and initialization.
Migrate to a modern ORM like Sequelize, TypeORM, or Prisma.
Prefix dependent models with numbers, e.g., '0_user.js' before '1_post.js'.
Wrap initialization in a callback; do not use .then().
Upgrade Express to ^4.0.0 or use an older version of this library.
Do not use in production. Fork or migrate to another library.
npm install express-orm-mvc --save
Use const eom = require('express-orm-mvc');module.exports = function(orm, db) { ... };Ensure the project structure has config/settings.js and run from the root.