How to use the grey function from colors

Find comprehensive JavaScript colors.grey code examples handpicked from public code repositorys.

97
98
99
100
101
102
103
104
105
    if (pending) {
      if (!failed) style = style.bgYellow;
      msg += `, ${pending} pending`;
    }
    msg += "  ";
    print(status + style(msg) + colors.grey(` // ${duration}`));
  }
};

fork icon705
star icon0
watch icon2

1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
      b = classes[b];
      return a.title.en.localeCompare(b.title.en);
    })
    .map(classId => {
      return {
        name: classes[classId].title.en + colors.grey(` (${classId})`),
        value: classId,
      };
    });
},
fork icon4
star icon5
watch icon4

+ 2 other calls in file

106
107
108
109
110
111
112
113
114
115
}
var logIndicator = colors.yellow("[Request]")
if (req.req.rawHeaders[3].match("curl")) {
  var logIndicator = colors.yellow("[API Call]")
}
console.log(logIndicator + colors.grey(" IP: " + colors.white(reqIp) + ", Method: " + colors.white(reqMeth) + ", Resource: " + colors.white(reqReso)));
res.on('finish', function () {
  var codeString = res.statusCode.toString();
  if (codeString.startsWith("2")) {
    var statCol = colors.green;
fork icon1
star icon3
watch icon2

+ 11 other calls in file