An Egg.js plugin integrating ZingOrm, a simple ORM for Node.js. Version 0.3.5 targets Node >=8.0.0. As a plugin, it provides declarative model configuration and lifecycle management within the Egg framework. Compared to standalone ORMs like Sequelize or TypeORM, it offers tighter integration with Egg's app/agent pattern, but lacks ecosystem maturity and documentation.
npm install egg-zing-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic Egg plugin setup, model definition, and service usage with egg-zing-orm.
Add `zingOrm: { enable: true, package: 'egg-zing-orm' }` to config/plugin.jsUse `module.exports = app => { ... }` and place in app/model/Upgrade Egg.js to version 2+ and Node to 8+
Pin exact version in package.json: "egg-zing-orm": "0.3.5"
Install: `npm install egg-zing-orm` and enable in config/plugin.js
Ensure config/plugin.js has `zingOrm: { enable: true, package: 'egg-zing-orm' }` and restart appUpdate config/config.default.js with correct DB_HOST, DB_USER, DB_PASS
No dependency data recorded yet.