index.js 359 B

123456789101112131415161718
  1. 'use strict';
  2. var chalk = require('chalk');
  3. var main = {
  4. info: chalk.blue('ℹ'),
  5. success: chalk.green('✔'),
  6. warning: chalk.yellow('⚠'),
  7. error: chalk.red('✖')
  8. };
  9. var win = {
  10. info: chalk.blue('i'),
  11. success: chalk.green('√'),
  12. warning: chalk.yellow('‼'),
  13. error: chalk.red('×')
  14. };
  15. module.exports = process.platform === 'win32' ? win : main;