Skip to content
Newer
Older
100644 662 lines (547 sloc) 32.4 KB
66632ef @medikoo Improve heading readability
authored
1 # cli-color
2 ## Yet another colors and formatting for the console solution
02c75da @medikoo Initial
authored
3
1d99dc2 @medikoo Documentation
authored
4 Colors, formatting and other goodies for the console. This package won't mess with built-ins and provides neat way to predefine formatting patterns, see below.
02c75da @medikoo Initial
authored
5
6 ## Installation
7
8 $ npm install cli-color
9
10 ## Usage
11
12 Usage:
13
24065e2 @medikoo Update documentation to reflect latest changes
authored
14 ```javascript
15 var clc = require('cli-color');
16 ```
02c75da @medikoo Initial
authored
17
18 Output colored text:
19
24065e2 @medikoo Update documentation to reflect latest changes
authored
20 ```javascript
21 console.log(clc.red('Text in red'));
22 ```
02c75da @medikoo Initial
authored
23
24 Styles can be mixed:
25
24065e2 @medikoo Update documentation to reflect latest changes
authored
26 ```javascript
27 console.log(clc.red.bgWhite.underline('Underlined red text on white background.'));
28 ```
02c75da @medikoo Initial
authored
29
d7c3ed1 @medikoo Documentation
authored
30 Styled text can be mixed with unstyled:
31
24065e2 @medikoo Update documentation to reflect latest changes
authored
32 ```javascript
33 console.log(clc.red('red') + ' plain ' + clc.blue('blue'));
34 ```
d7c3ed1 @medikoo Documentation
authored
35
377e090 @medikoo Update documentation up to recent changes
authored
36 Styled text can be nested:
37
38 ```javascript
39 console.log(clc.red('red ' + clc.blue('blue') + ' red'));
40 ```
41
e8705db @medikoo Documentation
authored
42 __Best way is to predefine needed stylings and then use it__:
02c75da @medikoo Initial
authored
43
24065e2 @medikoo Update documentation to reflect latest changes
authored
44 ```javascript
45 var error = clc.red.bold;
46 var warn = clc.yellow;
47 var notice = clc.blue;
02c75da @medikoo Initial
authored
48
24065e2 @medikoo Update documentation to reflect latest changes
authored
49 console.log(error('Error!'));
50 console.log(warn('Warning'));
51 console.log(notice('Notice'));
52 ```
d7c3ed1 @medikoo Documentation
authored
53
02c75da @medikoo Initial
authored
54 Supported are all ANSI colors and styles:
55
1d99dc2 @medikoo Documentation
authored
56 #### Styles
02c75da @medikoo Initial
authored
57
58 Styles will display correctly if font used in your console supports them.
59
60 * bold
61 * italic
62 * underline
5bb7432 @medikoo Add `blink`. #9
authored
63 * blink
02c75da @medikoo Initial
authored
64 * inverse
65 * strike
66
24065e2 @medikoo Update documentation to reflect latest changes
authored
67 #### Colors
68
69 <table>
c1651b7 @medikoo Fix table cell with
authored
70 <thead><th>Foreground</th><th>Background</th><th></th></thead>
24065e2 @medikoo Update documentation to reflect latest changes
authored
71 <tbody>
0e4a067 @medikoo Force image dimensions
authored
72 <tr><td>black</td><td>bgBlack</td><td><img src="http://medyk.org/colors/000000.png" width="30" height="30" /></td></tr>
73 <tr><td>red</td><td>bgRed</td><td><img src="http://medyk.org/colors/800000.png" width="30" height="30" /></td></tr>
74 <tr><td>green</td><td>bgGreen</td><td><img src="http://medyk.org/colors/008000.png" width="30" height="30" /></td></tr>
75 <tr><td>yellow</td><td>bgYellow</td><td><img src="http://medyk.org/colors/808000.png" width="30" height="30" /></td></tr>
76 <tr><td>blue</td><td>bgBlue</td><td><img src="http://medyk.org/colors/000080.png" width="30" height="30" /></td></tr>
77 <tr><td>magenta</td><td>bgMagenta</td><td><img src="http://medyk.org/colors/800080.png" width="30" height="30" /></td></tr>
78 <tr><td>cyan</td><td>bgCyan</td><td><img src="http://medyk.org/colors/008080.png" width="30" height="30" /></td></tr>
79 <tr><td>white</td><td>bgWhite</td><td><img src="http://medyk.org/colors/c0c0c0.png" width="30" height="30" /></td></tr>
24065e2 @medikoo Update documentation to reflect latest changes
authored
80 </tbody>
81 </table>
82
83 ##### Bright variants
84
85 <table>
c1651b7 @medikoo Fix table cell with
authored
86 <thead><th>Foreground</th><th>Background</th><th></th></thead>
24065e2 @medikoo Update documentation to reflect latest changes
authored
87 <tbody>
0e4a067 @medikoo Force image dimensions
authored
88 <tr><td>blackBright</td><td>bgBlackBright</td><td><img src="http://medyk.org/colors/808080.png" width="30" height="30" /></td></tr>
89 <tr><td>redBright</td><td>bgRedBright</td><td><img src="http://medyk.org/colors/ff0000.png" width="30" height="30" /></td></tr>
90 <tr><td>greenBright</td><td>bgGreenBright</td><td><img src="http://medyk.org/colors/00ff00.png" width="30" height="30" /></td></tr>
91 <tr><td>yellowBright</td><td>bgYellowBright</td><td><img src="http://medyk.org/colors/ffff00.png" width="30" height="30" /></td></tr>
92 <tr><td>blueBright</td><td>bgBlueBright</td><td><img src="http://medyk.org/colors/0000ff.png" width="30" height="30" /></td></tr>
93 <tr><td>magentaBright</td><td>bgMagentaBright</td><td><img src="http://medyk.org/colors/ff00ff.png" width="30" height="30" /></td></tr>
94 <tr><td>cyanBright</td><td>bgCyanBright</td><td><img src="http://medyk.org/colors/00ffff.png" width="30" height="30" /></td></tr>
95 <tr><td>whiteBright</td><td>bgWhiteBright</td><td><img src="http://medyk.org/colors/ffffff.png" width="30" height="30" /></td></tr>
24065e2 @medikoo Update documentation to reflect latest changes
authored
96 </tbody>
97 </table>
98
99 ##### xTerm colors (256 colors table)
100
101 __Not supported on Windows and some terminals__. However if used in not supported environment, the closest color from basic (16 colors) palette is chosen.
102
103 Usage:
104
105 ```javascript
106 var msg = clc.xterm(202).bgXterm(236);
107 console.log(msg('Orange text on dark gray background'));
108 ```
109
110 Color table:
111
112 <table>
113 <tr>
c1651b7 @medikoo Fix table cell with
authored
114 <td>0</td><td><img src="http://medyk.org/colors/000000.png" width="20" height="20" /></td>
115 <td>1</td><td><img src="http://medyk.org/colors/800000.png" width="20" height="20" /></td>
116 <td>2</td><td><img src="http://medyk.org/colors/008000.png" width="20" height="20" /></td>
117 <td>3</td><td><img src="http://medyk.org/colors/808000.png" width="20" height="20" /></td>
118 <td>4</td><td><img src="http://medyk.org/colors/000080.png" width="20" height="20" /></td>
119 <td>5</td><td><img src="http://medyk.org/colors/800080.png" width="20" height="20" /></td>
120 <td>6</td><td><img src="http://medyk.org/colors/008080.png" width="20" height="20" /></td>
121 <td>7</td><td><img src="http://medyk.org/colors/c0c0c0.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
122 </tr>
123 <tr>
c1651b7 @medikoo Fix table cell with
authored
124 <td>8</td><td><img src="http://medyk.org/colors/808080.png" width="20" height="20" /></td>
125 <td>9</td><td><img src="http://medyk.org/colors/ff0000.png" width="20" height="20" /></td>
126 <td>10</td><td><img src="http://medyk.org/colors/00ff00.png" width="20" height="20" /></td>
127 <td>11</td><td><img src="http://medyk.org/colors/ffff00.png" width="20" height="20" /></td>
128 <td>12</td><td><img src="http://medyk.org/colors/0000ff.png" width="20" height="20" /></td>
129 <td>13</td><td><img src="http://medyk.org/colors/ff00ff.png" width="20" height="20" /></td>
130 <td>14</td><td><img src="http://medyk.org/colors/00ffff.png" width="20" height="20" /></td>
131 <td>15</td><td><img src="http://medyk.org/colors/ffffff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
132 </tr>
133
134 <tr>
c1651b7 @medikoo Fix table cell with
authored
135 <td>16</td><td><img src="http://medyk.org/colors/000000.png" width="20" height="20" /></td>
136 <td>17</td><td><img src="http://medyk.org/colors/00005f.png" width="20" height="20" /></td>
137 <td>18</td><td><img src="http://medyk.org/colors/000087.png" width="20" height="20" /></td>
138 <td>19</td><td><img src="http://medyk.org/colors/0000af.png" width="20" height="20" /></td>
139 <td>20</td><td><img src="http://medyk.org/colors/0000d7.png" width="20" height="20" /></td>
140 <td>21</td><td><img src="http://medyk.org/colors/0000ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
141 </tr>
142 <tr>
c1651b7 @medikoo Fix table cell with
authored
143 <td>22</td><td><img src="http://medyk.org/colors/005f00.png" width="20" height="20" /></td>
144 <td>23</td><td><img src="http://medyk.org/colors/005f5f.png" width="20" height="20" /></td>
145 <td>24</td><td><img src="http://medyk.org/colors/005f87.png" width="20" height="20" /></td>
146 <td>25</td><td><img src="http://medyk.org/colors/005faf.png" width="20" height="20" /></td>
147 <td>26</td><td><img src="http://medyk.org/colors/005fd7.png" width="20" height="20" /></td>
148 <td>27</td><td><img src="http://medyk.org/colors/005fff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
149 </tr>
150 <tr>
c1651b7 @medikoo Fix table cell with
authored
151 <td>28</td><td><img src="http://medyk.org/colors/008700.png" width="20" height="20" /></td>
152 <td>29</td><td><img src="http://medyk.org/colors/00875f.png" width="20" height="20" /></td>
153 <td>30</td><td><img src="http://medyk.org/colors/008787.png" width="20" height="20" /></td>
154 <td>31</td><td><img src="http://medyk.org/colors/0087af.png" width="20" height="20" /></td>
155 <td>32</td><td><img src="http://medyk.org/colors/0087d7.png" width="20" height="20" /></td>
156 <td>33</td><td><img src="http://medyk.org/colors/0087ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
157 </tr>
158 <tr>
c1651b7 @medikoo Fix table cell with
authored
159 <td>34</td><td><img src="http://medyk.org/colors/00af00.png" width="20" height="20" /></td>
160 <td>35</td><td><img src="http://medyk.org/colors/00af5f.png" width="20" height="20" /></td>
161 <td>36</td><td><img src="http://medyk.org/colors/00af87.png" width="20" height="20" /></td>
162 <td>37</td><td><img src="http://medyk.org/colors/00afaf.png" width="20" height="20" /></td>
163 <td>38</td><td><img src="http://medyk.org/colors/00afd7.png" width="20" height="20" /></td>
164 <td>39</td><td><img src="http://medyk.org/colors/00afff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
165 </tr>
166 <tr>
c1651b7 @medikoo Fix table cell with
authored
167 <td>40</td><td><img src="http://medyk.org/colors/00d700.png" width="20" height="20" /></td>
168 <td>41</td><td><img src="http://medyk.org/colors/00d75f.png" width="20" height="20" /></td>
169 <td>42</td><td><img src="http://medyk.org/colors/00d787.png" width="20" height="20" /></td>
170 <td>43</td><td><img src="http://medyk.org/colors/00d7af.png" width="20" height="20" /></td>
171 <td>44</td><td><img src="http://medyk.org/colors/00d7d7.png" width="20" height="20" /></td>
172 <td>45</td><td><img src="http://medyk.org/colors/00d7ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
173 </tr>
174 <tr>
c1651b7 @medikoo Fix table cell with
authored
175 <td>46</td><td><img src="http://medyk.org/colors/00ff00.png" width="20" height="20" /></td>
176 <td>47</td><td><img src="http://medyk.org/colors/00ff5f.png" width="20" height="20" /></td>
177 <td>48</td><td><img src="http://medyk.org/colors/00ff87.png" width="20" height="20" /></td>
178 <td>49</td><td><img src="http://medyk.org/colors/00ffaf.png" width="20" height="20" /></td>
179 <td>50</td><td><img src="http://medyk.org/colors/00ffd7.png" width="20" height="20" /></td>
180 <td>51</td><td><img src="http://medyk.org/colors/00ffff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
181 </tr>
182
183 <tr>
c1651b7 @medikoo Fix table cell with
authored
184 <td>52</td><td><img src="http://medyk.org/colors/5f0000.png" width="20" height="20" /></td>
185 <td>53</td><td><img src="http://medyk.org/colors/5f005f.png" width="20" height="20" /></td>
186 <td>54</td><td><img src="http://medyk.org/colors/5f0087.png" width="20" height="20" /></td>
187 <td>55</td><td><img src="http://medyk.org/colors/5f00af.png" width="20" height="20" /></td>
188 <td>56</td><td><img src="http://medyk.org/colors/5f00d7.png" width="20" height="20" /></td>
189 <td>57</td><td><img src="http://medyk.org/colors/5f00ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
190 </tr>
191 <tr>
c1651b7 @medikoo Fix table cell with
authored
192 <td>58</td><td><img src="http://medyk.org/colors/5f5f00.png" width="20" height="20" /></td>
193 <td>59</td><td><img src="http://medyk.org/colors/5f5f5f.png" width="20" height="20" /></td>
194 <td>60</td><td><img src="http://medyk.org/colors/5f5f87.png" width="20" height="20" /></td>
195 <td>61</td><td><img src="http://medyk.org/colors/5f5faf.png" width="20" height="20" /></td>
196 <td>62</td><td><img src="http://medyk.org/colors/5f5fd7.png" width="20" height="20" /></td>
197 <td>63</td><td><img src="http://medyk.org/colors/5f5fff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
198 </tr>
199 <tr>
c1651b7 @medikoo Fix table cell with
authored
200 <td>64</td><td><img src="http://medyk.org/colors/5f8700.png" width="20" height="20" /></td>
201 <td>65</td><td><img src="http://medyk.org/colors/5f875f.png" width="20" height="20" /></td>
202 <td>66</td><td><img src="http://medyk.org/colors/5f8787.png" width="20" height="20" /></td>
203 <td>67</td><td><img src="http://medyk.org/colors/5f87af.png" width="20" height="20" /></td>
204 <td>68</td><td><img src="http://medyk.org/colors/5f87d7.png" width="20" height="20" /></td>
205 <td>69</td><td><img src="http://medyk.org/colors/5f87ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
206 </tr>
207 <tr>
c1651b7 @medikoo Fix table cell with
authored
208 <td>70</td><td><img src="http://medyk.org/colors/5faf00.png" width="20" height="20" /></td>
209 <td>71</td><td><img src="http://medyk.org/colors/5faf5f.png" width="20" height="20" /></td>
210 <td>72</td><td><img src="http://medyk.org/colors/5faf87.png" width="20" height="20" /></td>
211 <td>73</td><td><img src="http://medyk.org/colors/5fafaf.png" width="20" height="20" /></td>
212 <td>74</td><td><img src="http://medyk.org/colors/5fafd7.png" width="20" height="20" /></td>
213 <td>75</td><td><img src="http://medyk.org/colors/5fafff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
214 </tr>
215 <tr>
c1651b7 @medikoo Fix table cell with
authored
216 <td>76</td><td><img src="http://medyk.org/colors/5fd700.png" width="20" height="20" /></td>
217 <td>77</td><td><img src="http://medyk.org/colors/5fd75f.png" width="20" height="20" /></td>
218 <td>78</td><td><img src="http://medyk.org/colors/5fd787.png" width="20" height="20" /></td>
219 <td>79</td><td><img src="http://medyk.org/colors/5fd7af.png" width="20" height="20" /></td>
220 <td>80</td><td><img src="http://medyk.org/colors/5fd7d7.png" width="20" height="20" /></td>
221 <td>81</td><td><img src="http://medyk.org/colors/5fd7ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
222 </tr>
223 <tr>
c1651b7 @medikoo Fix table cell with
authored
224 <td>82</td><td><img src="http://medyk.org/colors/5fff00.png" width="20" height="20" /></td>
225 <td>83</td><td><img src="http://medyk.org/colors/5fff5f.png" width="20" height="20" /></td>
226 <td>84</td><td><img src="http://medyk.org/colors/5fff87.png" width="20" height="20" /></td>
227 <td>85</td><td><img src="http://medyk.org/colors/5fffaf.png" width="20" height="20" /></td>
228 <td>86</td><td><img src="http://medyk.org/colors/5fffd7.png" width="20" height="20" /></td>
229 <td>87</td><td><img src="http://medyk.org/colors/5fffff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
230 </tr>
231
232 <tr>
c1651b7 @medikoo Fix table cell with
authored
233 <td>88</td><td><img src="http://medyk.org/colors/870000.png" width="20" height="20" /></td>
234 <td>89</td><td><img src="http://medyk.org/colors/87005f.png" width="20" height="20" /></td>
235 <td>90</td><td><img src="http://medyk.org/colors/870087.png" width="20" height="20" /></td>
236 <td>91</td><td><img src="http://medyk.org/colors/8700af.png" width="20" height="20" /></td>
237 <td>92</td><td><img src="http://medyk.org/colors/8700d7.png" width="20" height="20" /></td>
238 <td>93</td><td><img src="http://medyk.org/colors/8700ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
239 </tr>
240 <tr>
c1651b7 @medikoo Fix table cell with
authored
241 <td>94</td><td><img src="http://medyk.org/colors/875f00.png" width="20" height="20" /></td>
242 <td>95</td><td><img src="http://medyk.org/colors/875f5f.png" width="20" height="20" /></td>
243 <td>96</td><td><img src="http://medyk.org/colors/875f87.png" width="20" height="20" /></td>
244 <td>97</td><td><img src="http://medyk.org/colors/875faf.png" width="20" height="20" /></td>
245 <td>98</td><td><img src="http://medyk.org/colors/875fd7.png" width="20" height="20" /></td>
246 <td>99</td><td><img src="http://medyk.org/colors/875fff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
247 </tr>
248 <tr>
c1651b7 @medikoo Fix table cell with
authored
249 <td>100</td><td><img src="http://medyk.org/colors/878700.png" width="20" height="20" /></td>
250 <td>101</td><td><img src="http://medyk.org/colors/87875f.png" width="20" height="20" /></td>
251 <td>102</td><td><img src="http://medyk.org/colors/878787.png" width="20" height="20" /></td>
252 <td>103</td><td><img src="http://medyk.org/colors/8787af.png" width="20" height="20" /></td>
253 <td>104</td><td><img src="http://medyk.org/colors/8787d7.png" width="20" height="20" /></td>
254 <td>105</td><td><img src="http://medyk.org/colors/8787ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
255 </tr>
256 <tr>
c1651b7 @medikoo Fix table cell with
authored
257 <td>106</td><td><img src="http://medyk.org/colors/87af00.png" width="20" height="20" /></td>
258 <td>107</td><td><img src="http://medyk.org/colors/87af5f.png" width="20" height="20" /></td>
259 <td>108</td><td><img src="http://medyk.org/colors/87af87.png" width="20" height="20" /></td>
260 <td>109</td><td><img src="http://medyk.org/colors/87afaf.png" width="20" height="20" /></td>
261 <td>110</td><td><img src="http://medyk.org/colors/87afd7.png" width="20" height="20" /></td>
262 <td>111</td><td><img src="http://medyk.org/colors/87afff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
263 </tr>
264 <tr>
c1651b7 @medikoo Fix table cell with
authored
265 <td>112</td><td><img src="http://medyk.org/colors/87d700.png" width="20" height="20" /></td>
266 <td>113</td><td><img src="http://medyk.org/colors/87d75f.png" width="20" height="20" /></td>
267 <td>114</td><td><img src="http://medyk.org/colors/87d787.png" width="20" height="20" /></td>
268 <td>115</td><td><img src="http://medyk.org/colors/87d7af.png" width="20" height="20" /></td>
269 <td>116</td><td><img src="http://medyk.org/colors/87d7d7.png" width="20" height="20" /></td>
270 <td>117</td><td><img src="http://medyk.org/colors/87d7ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
271 </tr>
272 <tr>
c1651b7 @medikoo Fix table cell with
authored
273 <td>118</td><td><img src="http://medyk.org/colors/87ff00.png" width="20" height="20" /></td>
274 <td>119</td><td><img src="http://medyk.org/colors/87ff5f.png" width="20" height="20" /></td>
275 <td>120</td><td><img src="http://medyk.org/colors/87ff87.png" width="20" height="20" /></td>
276 <td>121</td><td><img src="http://medyk.org/colors/87ffaf.png" width="20" height="20" /></td>
277 <td>122</td><td><img src="http://medyk.org/colors/87ffd7.png" width="20" height="20" /></td>
278 <td>123</td><td><img src="http://medyk.org/colors/87ffff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
279 </tr>
280
281 <tr>
c1651b7 @medikoo Fix table cell with
authored
282 <td>124</td><td><img src="http://medyk.org/colors/af0000.png" width="20" height="20" /></td>
283 <td>125</td><td><img src="http://medyk.org/colors/af005f.png" width="20" height="20" /></td>
284 <td>126</td><td><img src="http://medyk.org/colors/af0087.png" width="20" height="20" /></td>
285 <td>127</td><td><img src="http://medyk.org/colors/af00af.png" width="20" height="20" /></td>
286 <td>128</td><td><img src="http://medyk.org/colors/af00d7.png" width="20" height="20" /></td>
287 <td>129</td><td><img src="http://medyk.org/colors/af00ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
288 </tr>
289 <tr>
c1651b7 @medikoo Fix table cell with
authored
290 <td>130</td><td><img src="http://medyk.org/colors/af5f00.png" width="20" height="20" /></td>
291 <td>131</td><td><img src="http://medyk.org/colors/af5f5f.png" width="20" height="20" /></td>
292 <td>132</td><td><img src="http://medyk.org/colors/af5f87.png" width="20" height="20" /></td>
293 <td>133</td><td><img src="http://medyk.org/colors/af5faf.png" width="20" height="20" /></td>
294 <td>134</td><td><img src="http://medyk.org/colors/af5fd7.png" width="20" height="20" /></td>
295 <td>135</td><td><img src="http://medyk.org/colors/af5fff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
296 </tr>
297 <tr>
c1651b7 @medikoo Fix table cell with
authored
298 <td>136</td><td><img src="http://medyk.org/colors/af8700.png" width="20" height="20" /></td>
299 <td>137</td><td><img src="http://medyk.org/colors/af875f.png" width="20" height="20" /></td>
300 <td>138</td><td><img src="http://medyk.org/colors/af8787.png" width="20" height="20" /></td>
301 <td>139</td><td><img src="http://medyk.org/colors/af87af.png" width="20" height="20" /></td>
302 <td>140</td><td><img src="http://medyk.org/colors/af87d7.png" width="20" height="20" /></td>
303 <td>141</td><td><img src="http://medyk.org/colors/af87ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
304 </tr>
305 <tr>
c1651b7 @medikoo Fix table cell with
authored
306 <td>142</td><td><img src="http://medyk.org/colors/afaf00.png" width="20" height="20" /></td>
307 <td>143</td><td><img src="http://medyk.org/colors/afaf5f.png" width="20" height="20" /></td>
308 <td>144</td><td><img src="http://medyk.org/colors/afaf87.png" width="20" height="20" /></td>
309 <td>145</td><td><img src="http://medyk.org/colors/afafaf.png" width="20" height="20" /></td>
310 <td>146</td><td><img src="http://medyk.org/colors/afafd7.png" width="20" height="20" /></td>
311 <td>147</td><td><img src="http://medyk.org/colors/afafff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
312 </tr>
313 <tr>
c1651b7 @medikoo Fix table cell with
authored
314 <td>148</td><td><img src="http://medyk.org/colors/afd700.png" width="20" height="20" /></td>
315 <td>149</td><td><img src="http://medyk.org/colors/afd75f.png" width="20" height="20" /></td>
316 <td>150</td><td><img src="http://medyk.org/colors/afd787.png" width="20" height="20" /></td>
317 <td>151</td><td><img src="http://medyk.org/colors/afd7af.png" width="20" height="20" /></td>
318 <td>152</td><td><img src="http://medyk.org/colors/afd7d7.png" width="20" height="20" /></td>
319 <td>153</td><td><img src="http://medyk.org/colors/afd7ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
320 </tr>
321 <tr>
c1651b7 @medikoo Fix table cell with
authored
322 <td>154</td><td><img src="http://medyk.org/colors/afff00.png" width="20" height="20" /></td>
323 <td>155</td><td><img src="http://medyk.org/colors/afff5f.png" width="20" height="20" /></td>
324 <td>156</td><td><img src="http://medyk.org/colors/afff87.png" width="20" height="20" /></td>
325 <td>157</td><td><img src="http://medyk.org/colors/afffaf.png" width="20" height="20" /></td>
326 <td>158</td><td><img src="http://medyk.org/colors/afffd7.png" width="20" height="20" /></td>
327 <td>159</td><td><img src="http://medyk.org/colors/afffff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
328 </tr>
329
330 <tr>
c1651b7 @medikoo Fix table cell with
authored
331 <td>160</td><td><img src="http://medyk.org/colors/d70000.png" width="20" height="20" /></td>
332 <td>161</td><td><img src="http://medyk.org/colors/d7005f.png" width="20" height="20" /></td>
333 <td>162</td><td><img src="http://medyk.org/colors/d70087.png" width="20" height="20" /></td>
334 <td>163</td><td><img src="http://medyk.org/colors/d700af.png" width="20" height="20" /></td>
335 <td>164</td><td><img src="http://medyk.org/colors/d700d7.png" width="20" height="20" /></td>
336 <td>165</td><td><img src="http://medyk.org/colors/d700ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
337 </tr>
338 <tr>
c1651b7 @medikoo Fix table cell with
authored
339 <td>166</td><td><img src="http://medyk.org/colors/d75f00.png" width="20" height="20" /></td>
340 <td>167</td><td><img src="http://medyk.org/colors/d75f5f.png" width="20" height="20" /></td>
341 <td>168</td><td><img src="http://medyk.org/colors/d75f87.png" width="20" height="20" /></td>
342 <td>169</td><td><img src="http://medyk.org/colors/d75faf.png" width="20" height="20" /></td>
343 <td>170</td><td><img src="http://medyk.org/colors/d75fd7.png" width="20" height="20" /></td>
344 <td>171</td><td><img src="http://medyk.org/colors/d75fff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
345 </tr>
346 <tr>
c1651b7 @medikoo Fix table cell with
authored
347 <td>172</td><td><img src="http://medyk.org/colors/d78700.png" width="20" height="20" /></td>
348 <td>173</td><td><img src="http://medyk.org/colors/d7875f.png" width="20" height="20" /></td>
349 <td>174</td><td><img src="http://medyk.org/colors/d78787.png" width="20" height="20" /></td>
350 <td>175</td><td><img src="http://medyk.org/colors/d787af.png" width="20" height="20" /></td>
351 <td>176</td><td><img src="http://medyk.org/colors/d787d7.png" width="20" height="20" /></td>
352 <td>177</td><td><img src="http://medyk.org/colors/d787ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
353 </tr>
354 <tr>
c1651b7 @medikoo Fix table cell with
authored
355 <td>178</td><td><img src="http://medyk.org/colors/d7af00.png" width="20" height="20" /></td>
356 <td>179</td><td><img src="http://medyk.org/colors/d7af5f.png" width="20" height="20" /></td>
357 <td>180</td><td><img src="http://medyk.org/colors/d7af87.png" width="20" height="20" /></td>
358 <td>181</td><td><img src="http://medyk.org/colors/d7afaf.png" width="20" height="20" /></td>
359 <td>182</td><td><img src="http://medyk.org/colors/d7afd7.png" width="20" height="20" /></td>
360 <td>183</td><td><img src="http://medyk.org/colors/d7afff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
361 </tr>
362 <tr>
c1651b7 @medikoo Fix table cell with
authored
363 <td>184</td><td><img src="http://medyk.org/colors/d7d700.png" width="20" height="20" /></td>
364 <td>185</td><td><img src="http://medyk.org/colors/d7d75f.png" width="20" height="20" /></td>
365 <td>186</td><td><img src="http://medyk.org/colors/d7d787.png" width="20" height="20" /></td>
366 <td>187</td><td><img src="http://medyk.org/colors/d7d7af.png" width="20" height="20" /></td>
367 <td>188</td><td><img src="http://medyk.org/colors/d7d7d7.png" width="20" height="20" /></td>
368 <td>189</td><td><img src="http://medyk.org/colors/d7d7ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
369 </tr>
370 <tr>
c1651b7 @medikoo Fix table cell with
authored
371 <td>190</td><td><img src="http://medyk.org/colors/d7ff00.png" width="20" height="20" /></td>
372 <td>191</td><td><img src="http://medyk.org/colors/d7ff5f.png" width="20" height="20" /></td>
373 <td>192</td><td><img src="http://medyk.org/colors/d7ff87.png" width="20" height="20" /></td>
374 <td>193</td><td><img src="http://medyk.org/colors/d7ffaf.png" width="20" height="20" /></td>
375 <td>194</td><td><img src="http://medyk.org/colors/d7ffd7.png" width="20" height="20" /></td>
376 <td>195</td><td><img src="http://medyk.org/colors/d7ffff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
377 </tr>
378
379 <tr>
c1651b7 @medikoo Fix table cell with
authored
380 <td>196</td><td><img src="http://medyk.org/colors/ff0000.png" width="20" height="20" /></td>
381 <td>197</td><td><img src="http://medyk.org/colors/ff005f.png" width="20" height="20" /></td>
382 <td>198</td><td><img src="http://medyk.org/colors/ff0087.png" width="20" height="20" /></td>
383 <td>199</td><td><img src="http://medyk.org/colors/ff00af.png" width="20" height="20" /></td>
384 <td>200</td><td><img src="http://medyk.org/colors/ff00d7.png" width="20" height="20" /></td>
385 <td>201</td><td><img src="http://medyk.org/colors/ff00ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
386 </tr>
387 <tr>
c1651b7 @medikoo Fix table cell with
authored
388 <td>202</td><td><img src="http://medyk.org/colors/ff5f00.png" width="20" height="20" /></td>
389 <td>203</td><td><img src="http://medyk.org/colors/ff5f5f.png" width="20" height="20" /></td>
390 <td>204</td><td><img src="http://medyk.org/colors/ff5f87.png" width="20" height="20" /></td>
391 <td>205</td><td><img src="http://medyk.org/colors/ff5faf.png" width="20" height="20" /></td>
392 <td>206</td><td><img src="http://medyk.org/colors/ff5fd7.png" width="20" height="20" /></td>
393 <td>207</td><td><img src="http://medyk.org/colors/ff5fff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
394 </tr>
395 <tr>
c1651b7 @medikoo Fix table cell with
authored
396 <td>208</td><td><img src="http://medyk.org/colors/ff8700.png" width="20" height="20" /></td>
397 <td>209</td><td><img src="http://medyk.org/colors/ff875f.png" width="20" height="20" /></td>
398 <td>210</td><td><img src="http://medyk.org/colors/ff8787.png" width="20" height="20" /></td>
399 <td>211</td><td><img src="http://medyk.org/colors/ff87af.png" width="20" height="20" /></td>
400 <td>212</td><td><img src="http://medyk.org/colors/ff87d7.png" width="20" height="20" /></td>
401 <td>213</td><td><img src="http://medyk.org/colors/ff87ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
402 </tr>
403 <tr>
c1651b7 @medikoo Fix table cell with
authored
404 <td>214</td><td><img src="http://medyk.org/colors/ffaf00.png" width="20" height="20" /></td>
405 <td>215</td><td><img src="http://medyk.org/colors/ffaf5f.png" width="20" height="20" /></td>
406 <td>216</td><td><img src="http://medyk.org/colors/ffaf87.png" width="20" height="20" /></td>
407 <td>217</td><td><img src="http://medyk.org/colors/ffafaf.png" width="20" height="20" /></td>
408 <td>218</td><td><img src="http://medyk.org/colors/ffafd7.png" width="20" height="20" /></td>
409 <td>219</td><td><img src="http://medyk.org/colors/ffafff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
410 </tr>
411 <tr>
c1651b7 @medikoo Fix table cell with
authored
412 <td>220</td><td><img src="http://medyk.org/colors/ffd700.png" width="20" height="20" /></td>
413 <td>221</td><td><img src="http://medyk.org/colors/ffd75f.png" width="20" height="20" /></td>
414 <td>222</td><td><img src="http://medyk.org/colors/ffd787.png" width="20" height="20" /></td>
415 <td>223</td><td><img src="http://medyk.org/colors/ffd7af.png" width="20" height="20" /></td>
416 <td>224</td><td><img src="http://medyk.org/colors/ffd7d7.png" width="20" height="20" /></td>
417 <td>225</td><td><img src="http://medyk.org/colors/ffd7ff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
418 </tr>
419 <tr>
c1651b7 @medikoo Fix table cell with
authored
420 <td>226</td><td><img src="http://medyk.org/colors/ffff00.png" width="20" height="20" /></td>
421 <td>227</td><td><img src="http://medyk.org/colors/ffff5f.png" width="20" height="20" /></td>
422 <td>228</td><td><img src="http://medyk.org/colors/ffff87.png" width="20" height="20" /></td>
423 <td>229</td><td><img src="http://medyk.org/colors/ffffaf.png" width="20" height="20" /></td>
424 <td>230</td><td><img src="http://medyk.org/colors/ffffd7.png" width="20" height="20" /></td>
425 <td>231</td><td><img src="http://medyk.org/colors/ffffff.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
426 </tr>
427
428 <tr>
c1651b7 @medikoo Fix table cell with
authored
429 <td>232</td><td><img src="http://medyk.org/colors/080808.png" width="20" height="20" /></td>
430 <td>233</td><td><img src="http://medyk.org/colors/121212.png" width="20" height="20" /></td>
431 <td>234</td><td><img src="http://medyk.org/colors/1c1c1c.png" width="20" height="20" /></td>
432 <td>235</td><td><img src="http://medyk.org/colors/262626.png" width="20" height="20" /></td>
433 <td>236</td><td><img src="http://medyk.org/colors/303030.png" width="20" height="20" /></td>
434 <td>237</td><td><img src="http://medyk.org/colors/3a3a3a.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
435 </tr>
436 <tr>
c1651b7 @medikoo Fix table cell with
authored
437 <td>238</td><td><img src="http://medyk.org/colors/444444.png" width="20" height="20" /></td>
438 <td>239</td><td><img src="http://medyk.org/colors/4e4e4e.png" width="20" height="20" /></td>
439 <td>240</td><td><img src="http://medyk.org/colors/585858.png" width="20" height="20" /></td>
440 <td>241</td><td><img src="http://medyk.org/colors/626262.png" width="20" height="20" /></td>
441 <td>242</td><td><img src="http://medyk.org/colors/6c6c6c.png" width="20" height="20" /></td>
442 <td>243</td><td><img src="http://medyk.org/colors/767676.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
443 </tr>
444 <tr>
c1651b7 @medikoo Fix table cell with
authored
445 <td>244</td><td><img src="http://medyk.org/colors/808080.png" width="20" height="20" /></td>
446 <td>245</td><td><img src="http://medyk.org/colors/8a8a8a.png" width="20" height="20" /></td>
447 <td>246</td><td><img src="http://medyk.org/colors/949494.png" width="20" height="20" /></td>
448 <td>247</td><td><img src="http://medyk.org/colors/9e9e9e.png" width="20" height="20" /></td>
449 <td>248</td><td><img src="http://medyk.org/colors/a8a8a8.png" width="20" height="20" /></td>
450 <td>249</td><td><img src="http://medyk.org/colors/b2b2b2.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
451 </tr>
452 <tr>
c1651b7 @medikoo Fix table cell with
authored
453 <td>250</td><td><img src="http://medyk.org/colors/bcbcbc.png" width="20" height="20" /></td>
454 <td>251</td><td><img src="http://medyk.org/colors/c6c6c6.png" width="20" height="20" /></td>
455 <td>252</td><td><img src="http://medyk.org/colors/d0d0d0.png" width="20" height="20" /></td>
456 <td>253</td><td><img src="http://medyk.org/colors/dadada.png" width="20" height="20" /></td>
457 <td>254</td><td><img src="http://medyk.org/colors/e4e4e4.png" width="20" height="20" /></td>
458 <td>255</td><td><img src="http://medyk.org/colors/eeeeee.png" width="20" height="20" /></td>
24065e2 @medikoo Update documentation to reflect latest changes
authored
459 </tr>
460 </table>
461
377e090 @medikoo Update documentation up to recent changes
authored
462 #### Reset
24065e2 @medikoo Update documentation to reflect latest changes
authored
463
464 Terminal can be cleared with `clc.reset`
465
466 ```javascript
377e090 @medikoo Update documentation up to recent changes
authored
467 process.stdout.write(clc.reset);
468 ```
469
470 #### Erase
471
472 ##### clc.erase.screen
473
474 Entire screen
475
476 ```javascript
477 process.stdout.write(clc.erase.screen);
478 ```
479
480 ##### clc.erase.screenLeft
481
482 Left portion of a screen
483
484 ```javascript
485 process.stdout.write(clc.erase.screenLeft);
486 ```
487
488 ##### clc.erase.screenRight
489
490 Right portion of a screen
491
492 ```javascript
493 process.stdout.write(clc.erase.screenRight);
494 ```
495
496 ##### clc.erase.line
497
498 Current line
499
500 ```javascript
501 process.stdout.write(clc.erase.line);
502 ```
503
504 ##### clc.erase.lineRight
505
506 Right portion of current line
507
508 ```javascript
509 process.stdout.write(clc.erase.lineRight);
510 ```
511
512 ##### clc.erase.lineLeft
513
514 Left portion of current line
515
516 ```javascript
517 process.stdout.write(clc.erase.lineLeft);
24065e2 @medikoo Update documentation to reflect latest changes
authored
518 ```
519
520 #### Move around functions
521
522 ##### clc.move(x, y)
523
524 Move cursor _x_ columns and _y_ rows away. Values can be positive or negative, e.g.:
525
526 ```javascript
7c8bd23 @medikoo Documentation improvements
authored
527 process.stdout.write(clc.move(-2, -2)); // Move cursors two columns and two rows back
24065e2 @medikoo Update documentation to reflect latest changes
authored
528 ```
529
377e090 @medikoo Update documentation up to recent changes
authored
530 ##### clc.move.to(x, y)
24065e2 @medikoo Update documentation to reflect latest changes
authored
531
532 Absolute move. Sets cursor position at _x_ column and _y_ row
533
534 ```javascript
377e090 @medikoo Update documentation up to recent changes
authored
535 process.stdout.write(clc.move.to(0, 0)); // Move cursor to first row and first column in terminal window
24065e2 @medikoo Update documentation to reflect latest changes
authored
536 ```
537
377e090 @medikoo Update documentation up to recent changes
authored
538 ##### clc.move.up(n)
24065e2 @medikoo Update documentation to reflect latest changes
authored
539
377e090 @medikoo Update documentation up to recent changes
authored
540 Move cursor up _n_ rows
24065e2 @medikoo Update documentation to reflect latest changes
authored
541
542 ```javascript
377e090 @medikoo Update documentation up to recent changes
authored
543 process.stdout.write(clc.move.up(2));
24065e2 @medikoo Update documentation to reflect latest changes
authored
544 ```
545
377e090 @medikoo Update documentation up to recent changes
authored
546 ##### clc.move.down(n)
24065e2 @medikoo Update documentation to reflect latest changes
authored
547
548 Move cursor down _n_ rows
549
377e090 @medikoo Update documentation up to recent changes
authored
550 ```javascript
551 process.stdout.write(clc.move.down(2));
552 ```
553
554 ##### clc.move.right(n)
24065e2 @medikoo Update documentation to reflect latest changes
authored
555
556 Move cursor right _n_ columns
557
377e090 @medikoo Update documentation up to recent changes
authored
558 ```javascript
559 process.stdout.write(clc.move.right(2));
560 ```
561
562 ##### clc.move.left(n)
02c75da @medikoo Initial
authored
563
24065e2 @medikoo Update documentation to reflect latest changes
authored
564 Move cursor left _n_ columns
02c75da @medikoo Initial
authored
565
377e090 @medikoo Update documentation up to recent changes
authored
566 ```javascript
567 process.stdout.write(clc.move.left(2));
568 ```
569
570 ##### clc.move.lines(n)
571
572 Move cursor `n` lines forward if `n` is positive, otherwise `n` lines backward.
573
574 ```javascript
575 process.stdout.write(clc.move.lines(2));
576 ```
577
24065e2 @medikoo Update documentation to reflect latest changes
authored
578 #### Terminal characteristics
02c75da @medikoo Initial
authored
579
377e090 @medikoo Update documentation up to recent changes
authored
580 ##### clc.windowSize.width
01baa7e @medikoo Documentation
authored
581
24065e2 @medikoo Update documentation to reflect latest changes
authored
582 Returns terminal width
cf423eb @medikoo Bright color variations
authored
583
377e090 @medikoo Update documentation up to recent changes
authored
584 ##### clc.windowSize.height
cf423eb @medikoo Bright color variations
authored
585
24065e2 @medikoo Update documentation to reflect latest changes
authored
586 Returns terminal height
01baa7e @medikoo Documentation
authored
587
377e090 @medikoo Update documentation up to recent changes
authored
588 ### Additional functionalities
589
f913e0a @medikoo Document new utilities
authored
590 #### clc.slice(str[, begin[, end]])
591
592 Slice provided string with preservation of eventual ANSI formatting
593
594 ```javascript
41b5e9a @medikoo Add missing semicolon
authored
595 var clc = require('cli-color');
f913e0a @medikoo Document new utilities
authored
596
597 var str = clc.bold('foo') + 'bar' + clc.red('elo');
598 var sliced = clc.slice(str, 1, 7); // Same as: clc.bold('oo') + 'bar' + clc.red('e')
599 ```
600
377e090 @medikoo Update documentation up to recent changes
authored
601 #### clc.strip(formatedText)
602
603 Strips ANSI formatted string to plain text
604
605 ```javascript
606 var ansiStrip = require('cli-color/strip');
607
608 var plain = ansiStrip(formatted);
609 ```
610
8ca5669 @StreetStrider fix getStrippedLength() feature description error
StreetStrider authored
611 #### clc.getStrippedLength(str)
f913e0a @medikoo Document new utilities
authored
612
8ca5669 @StreetStrider fix getStrippedLength() feature description error
StreetStrider authored
613 Get actual length of ANSI-formatted string
f913e0a @medikoo Document new utilities
authored
614
615 ```javascript
616 var clc = require('cli-color');
617
618 var str = clc.bold('foo') + 'bar' + clc.red('elo');
619 clc.getStrippedLength(str); // 9
620 ```
621
377e090 @medikoo Update documentation up to recent changes
authored
622 #### clc.art(text, styleConf)
01baa7e @medikoo Documentation
authored
623
377e090 @medikoo Update documentation up to recent changes
authored
624 Create a text-graphical art. Within `styleConf`, string replacements needs to be defined, which are then used to convert `text` to styled graphical text.
01baa7e @medikoo Documentation
authored
625
24065e2 @medikoo Update documentation to reflect latest changes
authored
626 ```javascript
377e090 @medikoo Update documentation up to recent changes
authored
627 var text = '.........\n' +
628 '. Hello .\n' +
629 '.........\n';
630 var style = { ".": clc.yellowBright("X") };
01baa7e @medikoo Documentation
authored
631
377e090 @medikoo Update documentation up to recent changes
authored
632 process.stdout.write(clc.art(text, style));
24065e2 @medikoo Update documentation to reflect latest changes
authored
633 ```
01baa7e @medikoo Documentation
authored
634
377e090 @medikoo Update documentation up to recent changes
authored
635 ##### throbber(write, interval[, format])
01baa7e @medikoo Documentation
authored
636
b617f06 @medikoo Improve throbber utility
authored
637 Writes throbber string to _write_ function at given _interval_. Optionally throbber output can be formatted with given _format_ function
01baa7e @medikoo Documentation
authored
638
24065e2 @medikoo Update documentation to reflect latest changes
authored
639 ```javascript
c641836 @medikoo Fix code examples
authored
640 var setupThrobber = require('cli-color/throbber');
01baa7e @medikoo Documentation
authored
641
b617f06 @medikoo Improve throbber utility
authored
642 var throbber = setupThrobber(function (str) {
643 process.stdout.write(str);
644 }, 200);
01baa7e @medikoo Documentation
authored
645
b617f06 @medikoo Improve throbber utility
authored
646 throbber.start();
01baa7e @medikoo Documentation
authored
647
b617f06 @medikoo Improve throbber utility
authored
648 // at any time you can stop/start throbber
f5fa0f1 @callumlocke fix code example
callumlocke authored
649 throbber.stop();
24065e2 @medikoo Update documentation to reflect latest changes
authored
650 ```
36cc720 @medikoo Add Travis CI badge to README.md
authored
651
eb63435 @medikoo Improve documentation
authored
652 ## Tests [![Build Status](https://travis-ci.org/medikoo/cli-color.png)](https://travis-ci.org/medikoo/cli-color)
36cc720 @medikoo Add Travis CI badge to README.md
authored
653
654 $ npm test
80926af @medikoo -- whitespace
authored
655
377e090 @medikoo Update documentation up to recent changes
authored
656 ## Contributors
657
658 * [@rentalhost](https://github.com/rentalhost) (David Rodrigues)
f913e0a @medikoo Document new utilities
authored
659 * Help with support for nested styles. Introduction of `clc.art` module, and significant improvements to tests coverage
660 * [@StreetStrider](https://github.com/StreetStrider)
661 * Implementation of sophistcated `clc.slice` functionality, and introduction of `clc.getStrippedLength` utility
Something went wrong with that request. Please try again.