mirror of
https://github.com/thangisme/notes.git
synced 2024-11-09 07:37:34 -05:00
19 lines
359 B
JavaScript
19 lines
359 B
JavaScript
'use strict';
|
||
var chalk = require('chalk');
|
||
|
||
var main = {
|
||
info: chalk.blue('ℹ'),
|
||
success: chalk.green('✔'),
|
||
warning: chalk.yellow('⚠'),
|
||
error: chalk.red('✖')
|
||
};
|
||
|
||
var win = {
|
||
info: chalk.blue('i'),
|
||
success: chalk.green('√'),
|
||
warning: chalk.yellow('‼'),
|
||
error: chalk.red('×')
|
||
};
|
||
|
||
module.exports = process.platform === 'win32' ? win : main;
|