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-4.3.3 node_modules/log-symbols/index.js
trusty-cms-4.3.3 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-4.3.2 node_modules/log-symbols/index.js
trusty-cms-4.3.2 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-4.3.1 node_modules/log-symbols/index.js
trusty-cms-4.3.1 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-4.3 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-4.3 node_modules/log-symbols/index.js
trusty-cms-4.2.3 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-4.2.3 node_modules/log-symbols/index.js
epuber-stylus-source-0.54.8 vendor/node_modules/log-symbols/index.js
trusty-cms-4.2.2 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-4.2.2 node_modules/log-symbols/index.js
trusty-cms-4.2.1 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-4.2.1 node_modules/log-symbols/index.js
trusty-cms-4.2 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-4.2 node_modules/log-symbols/index.js
trusty-cms-4.1.9 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-4.1.9 node_modules/log-symbols/index.js
trusty-cms-4.1.8 node_modules/log-symbols/index.js