UNPKG

@epoint-fe/fe-tool

Version:
20 lines (17 loc) 388 B
const chalk = require('chalk'); const error = chalk.bold.red; const warning = chalk.keyword('orange'); const gray = chalk.gray; const success = chalk.green; const prefix = chalk.bgGreen.black; function log() { return console.log(prefix('[epoint fe tool]'), ...arguments); } module.exports = { error, warning, gray, success, prefix, log };