A utility library for loading MySQL schemas and generating dummy data, designed for use with the mysql-oh-wait and di-why packages. It provides an 'db-undump' binary for easy schema restoration from a schema.sql file, as well as MysqlReq loaders for dependency injection. Current stable version is 0.5.1. Supports TypeScript types. Simplifies database schema management for Node.js projects with minimal configuration.
npm install mysql-oh-wait-utilsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows both CLI usage via db-undump and programmatic use with di-why DI container.
Ensure schema.sql exists or set PROJECT_ROOT_DIR_ABS_PATH environment variable.
Install mysql-oh-wait and di-why as project dependencies.
Use dotenv or similar to load .env before running the binary.
Run 'npm install mysql-oh-wait-utils'.
Create the file at src/data/schema.sql or set PROJECT_ROOT_DIR_ABS_PATH.
Install di-why: 'npm install di-why'.
No dependency data recorded yet.