An ORM for Node.js that uses CoffeeScript classes to interact with MySQL databases. Version 0.0.16 is the latest (as of 2015), with no active releases since. It is a lightweight, CoffeeScript-specific alternative to heavier ORMs like Sequelize. Designed for rapid prototyping with CoffeeScript, it directly maps class definitions to database tables. No longer maintained; exists primarily as an artifact of CoffeeScript's early popularity.
npm install coffee-class-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to define a model with a database table, columns, associations, and save an instance.
Install CoffeeScript and use .coffee files or compile to JS.
Migrate to a maintained ORM like Sequelize or TypeORM.
Use a different ORM for PostgreSQL, SQLite, etc.
Run `npm install coffee-class-orm` and add `CoffeeORM = require('coffee-class-orm')` at top of file.Use `class User extends CoffeeORM.Model`; ensure CoffeeORM is required correctly.
Run `npm install mysql` to add the peer dependency.