Sha256: e458d642453997cf281ed4c94701d8e26450e1e8877309eea2a1d128e55d3ad5
Contents?: true
Size: 470 Bytes
Versions: 52
Compression:
Stored size: 470 Bytes
Contents
'use strict'; const chalk = require('chalk'); const isSupported = process.platform !== 'win32' || process.env.CI || process.env.TERM === 'xterm-256color'; const main = { info: chalk.blue('ℹ'), success: chalk.green('✔'), warning: chalk.yellow('⚠'), error: chalk.red('✖') }; const fallbacks = { info: chalk.blue('i'), success: chalk.green('√'), warning: chalk.yellow('‼'), error: chalk.red('×') }; module.exports = isSupported ? main : fallbacks;
Version data entries
52 entries across 28 versions & 5 rubygems