3 function assembleStyles () {
7 bold: [1, 22], // 21 isn't widely supported and 22 does the same thing
13 strikethrough: [9, 29]
39 styles.colors.grey = styles.colors.gray;
41 Object.keys(styles).forEach(function (groupName) {
42 var group = styles[groupName];
44 Object.keys(group).forEach(function (styleName) {
45 var style = group[styleName];
47 styles[styleName] = group[styleName] = {
48 open: '\u001b[' + style[0] + 'm',
49 close: '\u001b[' + style[1] + 'm'
53 Object.defineProperty(styles, groupName, {
62 Object.defineProperty(module, 'exports', {