A simple npm package (version 2.1.3-0) that provides color highlighting for Sequelize SQL log output, focusing on basic MySQL syntax. It uses regular expressions to colorize SQL queries in the console, making them more readable. The package is lightweight with no production dependencies, though it requires a logging framework integration (e.g., console.log or Winston). Compared to alternatives like sequelize-logger or custom formatters, it offers a zero-config approach specifically for colorizing Sequelize logs. The project is in maintenance mode with infrequent updates, last published in 2016.
npm install sequelize-log-syntax-colorsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Integrates the color highlighting with Sequelize's logging option to colorize SQL queries in the console.
Migrate to a maintained package or write a custom logging function.
Check message format in your Sequelize version; you may need to parse the log message before passing to colors().
Verify that SQL dialect keywords match the package's regex patterns.
Run 'npm install sequelize-log-syntax-colors' and double-check spelling.
Use 'import colors from 'sequelize-log-syntax-colors'' or 'const colors = require('sequelize-log-syntax-colors')'.No dependency data recorded yet.