Skip to content

Instantly share code, notes, and snippets.

@alvaropinot
Last active May 9, 2016 12:26
Show Gist options
  • Save alvaropinot/33b1041535e2ceedbbe534f42d30ede4 to your computer and use it in GitHub Desktop.
Save alvaropinot/33b1041535e2ceedbbe534f42d30ede4 to your computer and use it in GitHub Desktop.
//from https://github.com/achohq/acho/blob/0a57c8450e781ca69c248103f48a24818dca695b/lib/Constants.coffee
'use strict'
figure =
false:
info : 'ℹ'
success : '✔'
warning : '⚠'
error : '✖'
true:
info : 'i'
success : '√'
warning : '‼'
error : '×'
module.exports =
DECORATE_COUNTER_ZERO_N : 4
MIN_DIFF_MS : 10000
UNMUTED : 'all'
LINE_COLOR : 'gray'
SYMBOL_KEYWORD : 'symbol'
MUTED : 'muted'
ENV : do -> process?.env.NODE_ENV?.toLowerCase() or undefined
FIGURE : figure[process.platform is 'win32']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment