A Node.js database mapping framework (version 1.2.8) that provides a session-based API for CRUD operations, transactions, and query building. It offers flexible object-relational mapping with support for MySQL and MySQL Cluster (NDB), using Promises/A+ and connection pooling. The project appears to be in early development (sparse releases, incomplete docs) and is distinguished by its session abstraction and adherence to standard JavaScript objects. Notable version: 1.2.8 released 2014-10-06. Competing with Sequelize and Bookshelf, but less mature.
npm install database-jonesVerified import paths — ran on the pinned version, not inferred.
Opens a session, stores a simple object into a MySQL table, then closes all session factories.
Consider using a modern ORM like Sequelize or Prisma.
Always call jones.closeAllOpenSessionFactories() after all sessions complete.
Run: npm install mysql
npm install mysql
Ensure you create a valid ConnectionProperties and pass it to openSession.