Noboxout ORM (norm) v0.0.9 is a Node.js ORM for MySQL with a classical object-oriented inheritance style using node-class. It focuses on transactions and error handling, but only supports MySQL and Memcached backends. The library provides a Norm object for setup, model definition, connection reservation, schema synchronization (destructive only), and error registration. It is in an early stage with no incremental sync and a low release frequency. Compared to alternatives like Sequelize or TypeORM, it lacks features but offers a simpler, transaction-first approach.
npm install noboxout-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize norm, define a User model, and save a new record using a reserved connection.
Do not call sync() in production. Use manual migration scripts.
Use only with MySQL. For other databases, consider Sequelize or TypeORM.
Pin exact version and test after updates.
Always set prefix in model definition to avoid collisions.
Always call this.__parent(data) first in initialize.
npm install mysql2
Use const norm = new Norm(); then norm.setup(...)
Add this.__parent(data); as first line in initialize.