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.1.8 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-4.1.7 node_modules/log-symbols/index.js
trusty-cms-4.1.7 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-4.1.6 node_modules/postcss-reporter/node_modules/log-symbols/index.js
trusty-cms-4.1.6 node_modules/log-symbols/index.js
trusty-cms-4.1.5 node_modules/log-symbols/index.js
trusty-cms-4.1.5 node_modules/postcss-reporter/node_modules/log-symbols/index.js
learn_create-0.0.22 lib/templates/javascript_lab_template/node_modules/log-symbols/index.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/log-symbols/index.js
locomotivecms-3.4.0 app/javascript/node_modules/yeoman-environment/node_modules/log-symbols/index.js
locomotivecms-3.4.0 app/javascript/node_modules/webpack-cli/node_modules/log-symbols/index.js
dragonfly_puppeteer-0.1.0 node_modules/log-symbols/index.js