Given an input string, it will return a new string with the ANSI codes for
dimmed around it.
Example
dimmed("Vangware"); // "\x1b[2mVangware\x1b[22m" // It can also be used as a tag function for tagged templates: dimmed`Vangware`; // "\x1b[2mVangware\x1b[22m"
Dimmed code wrapper.
Remarks
Given an
input
string, it will return a new string with the ANSI codes for dimmed around it.Example
See