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

Version Path
trusty-cms-5.0.7 node_modules/log-symbols/index.js
trusty-cms-5.0.7 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-5.0.6 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-5.0.6 node_modules/log-symbols/index.js
trusty-cms-5.0.5 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-5.0.5 node_modules/log-symbols/index.js
trusty-cms-5.0.4 node_modules/log-symbols/index.js
trusty-cms-5.0.4 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-5.0.3 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-5.0.3 node_modules/log-symbols/index.js
trusty-cms-5.0.2 node_modules/log-symbols/index.js
trusty-cms-5.0.2 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-5.0.1 node_modules/log-symbols/index.js
trusty-cms-5.0.1 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-4.3.5 node_modules/log-symbols/index.js
trusty-cms-4.3.5 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-5.0.0 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-5.0.0 node_modules/log-symbols/index.js
trusty-cms-4.3.4 node_modules/log-symbols/index.js
trusty-cms-4.3.4 node_modules/postcss-reporter/node_modules/log-symbols/index.js