A JavaScript ORM that keeps domain models free from persistence logic, using plain objects (POJOs) for models. Version 0.4.0 targets Node.js 6+. It differentiates by not requiring model classes to extend or embed ORM-specific code, instead mapping plain objects to database tables via configuration.
npm install junction-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to define a model, connect to SQLite, sync schema, and create a record.
Always specify a type or an object with a type property.
Use await connect(...) or .then().
Call await db.sync() before performing queries.
Run 'npm install junction-orm' and use correct import.
Use ES6 import: import junction from 'junction-orm';
No dependency data recorded yet.