First upload version 0.0.1
This commit is contained in:
14
node_modules/log-symbols/symbols.js
generated
vendored
Normal file
14
node_modules/log-symbols/symbols.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import {
|
||||
blue,
|
||||
green,
|
||||
yellow,
|
||||
red,
|
||||
} from 'yoctocolors';
|
||||
import isUnicodeSupported from 'is-unicode-supported';
|
||||
|
||||
const _isUnicodeSupported = isUnicodeSupported();
|
||||
|
||||
export const info = blue(_isUnicodeSupported ? 'ℹ' : 'i');
|
||||
export const success = green(_isUnicodeSupported ? '✔' : '√');
|
||||
export const warning = yellow(_isUnicodeSupported ? '⚠' : '‼');
|
||||
export const error = red(_isUnicodeSupported ? '✖' : '×');
|
||||
Reference in New Issue
Block a user