A wrapper around the mysql package that provides a more descriptive and fluent way of running queries, designed for use with hapi.js applications. Version 0.0.51 is the latest stable release, but the package appears to be in early development with no recent updates. It differentiates by offering a promise-based query builder, but lacks thorough documentation and has minimal adoption compared to more robust ORMs like Sequelize or TypeORM.
npm install hapiest-mysqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic setup and query execution using hapiest-mysql with promise-based API.
Consider migrating to mysql2 or sequelize.
Pin to specific version and test thoroughly.
Create a .d.ts file or use @types/mysql for basic types.
Run npm install hapiest-mysql@0.0.51
Use const HapiestMySQL = require('hapiest-mysql').HapiestMySQL;