Node.js MySQL model library providing a simple ORM-like interface for defining models and interacting with MySQL databases. The current version is 1.1.6, released in 2015 with no recent updates, indicating it is in maintenance mode. It offers basic model definition and CRUD operations but lacks many features such as join support, validation, and virtual fields. Compared to more modern alternatives like Sequelize or TypeORM, ledom is minimal and suitable for legacy projects. It requires Node >= 0.10.0 and has no runtime dependencies.
npm install ledomNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Defines a User model with ledom, creates a record, and queries adults.
Use raw SQL queries or migrate to an ORM that supports joins.
Add validation layer before calling ledom methods.
Test with your Node version; consider upgrading to a maintained ORM.
Wrap in Promise or use a wrapper library.
Ensure you are using a compatible import: const ledom = require('ledom'); then ledom.defineModel(...).Run 'npm install ledom' or check your package.json.
Use 'const { defineModel } = require('ledom');' instead of import syntax.No dependency data recorded yet.