t-comm
Version:
专业、稳定、纯粹的工具库
20 lines (16 loc) • 378 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
/**
* 获取 chalk 库
* chalk 是一个用于在终端输出彩色文本的第三方库
* @returns chalk 库
* @example
* ```ts
* const chalk = getChalk();
* console.log(chalk.red('error message'));
* ```
*/
function getChalk() {
return require('chalk');
}
exports.getChalk = getChalk;