# 2019.12.17 今天是每日时报陪你的第 291 天
[视频] 在 Node 环境当中,使用 TypeScript,比如看:https://www.youtube.com/watch?v=1UcLoOD1lRM (opens new window)
[文章] 用可视化的方式,学习 JavaScript 引擎;文章所有的图都做的非常棒:https://dev.to/lydiahallie/javascript-visualized-the-javascript-engine-4cdf (opens new window)
[文章] 有点像 VSCode Live Share 的 Web 远程协作/Review 工具:https://repl.it/site/blog/github (opens new window)
[类库] supports 用于检测客户端是否支持颜色:https://github.com/chalk/supports-color#readme (opens new window)
[类库] webpack 扩展,用于生成 manifest:https://github.com/danethurber/webpack-manifest-plugin (opens new window)
[技巧] 包装礼物盒的技巧:https://twitter.com/chUckbUte/status/1206252680789708800 (opens new window)
# 配图 - 用可视化的方式,学习 JavaScript 引擎
# 配图 - Web 远程协作工具
# 示例 - supports-color
const supportsColor = require('supports-color');
if (supportsColor.stdout) {
console.log('Terminal stdout supports color');
}
if (supportsColor.stdout.has256) {
console.log('Terminal stdout supports 256 colors');
}
if (supportsColor.stderr.has16m) {
console.log('Terminal stderr supports 16 million colors (truecolor)');
}