# chalk

# 介绍

给控制台(CLI)输出的文本添加样式,

不能用于浏览器端(待验证)

# 使用


async function test()  {
  const { default: chalk } = await import('chalk');

  const colorfulText = chalk.red('hello, chalk');

  console.log(colorfulText);
}

# 参考

本章目录