@destdefe/dev-utils
Version:
14 lines (11 loc) • 306 B
JavaScript
const chalk = require("chalk");
const error = (msg) => console.log(chalk.red(msg));
const info = (msg) => console.log(chalk.blue(msg));
const success = (msg) => console.log(chalk.green(msg));
const warn = (msg) => console.log(chalk.yellow(msg));
module.exports = {
error,
success,
info,
warn,
};