UNPKG

179 BJavaScriptView Raw
1'use strict'
2
3let colors
4
5try {
6 colors = require('colors/safe')
7} catch (e) {}
8
9const noColor = text => text
10
11module.exports = colors || new Proxy({}, {
12 get: () => noColor
13})