Commit graph

222 commits

Author SHA1 Message Date
Felipe
eb2565ce3d Fixing some of requested changes for pull request 2018-02-16 01:26:53 -02:00
Felipe
4c26f9128d 2.3.1 2018-02-06 00:57:25 -02:00
Felipe
74ddd798e6 Added temporary data about its npm publication. This is NOT supposed to stay published in NPM for long 2018-02-06 00:56:36 -02:00
Felipe
503159805f Added wrapper support
The wrapper marks the unprintable characters from each style tag.
This is very useful when debugging or outputing it in different terminals. You can use it to identify the unprintable characters or even to escape them.

Also added tests for it.
Added a description about it to the readme dile.
wq
2018-02-04 15:10:22 -02:00
Mario Nebl
6554030550 Use svg screenshot 2018-01-29 07:20:23 -08:00
Samarth Verma
bc3dd75329 Update usage stats in the readme (#242) 2017-12-31 16:20:49 +01:00
Brandon Smith
a8c60e37fa Fix spelling error in readme (#232) 2017-12-09 11:20:28 +01:00
Andrew
5392313414 Correct HSV and HWB examples 2017-10-25 23:33:12 -07:00
Sindre Sorhus
14e0aa9772 2.3.0 2017-10-24 11:12:53 +07:00
calebboyd
7be154c074 TypeScript fixes (#217) 2017-10-24 11:02:36 +07:00
Josh Junon
e1177ec362 2.2.2 2017-10-23 20:15:51 -07:00
Josh Junon
e2a4aa4275 fix .visible when called after .enable is set to false 2017-10-23 20:12:34 -07:00
Josh Junon
ede310303b add failing test for .visible bug 2017-10-23 20:12:16 -07:00
Josh Junon
6adf5794a3 2.2.1 2017-10-23 19:46:10 -07:00
Danny Kirchmeier
dc092b4a5f Add .visible for emitting text only when enabled (fixes #192) 2017-10-23 19:44:46 -07:00
Sindre Sorhus
4372d27f7e Add Awesome mentioned badge 2017-10-22 15:20:23 +07:00
Sindre Sorhus
d86db88e77 2.2.0 2017-10-18 10:15:39 +07:00
Sindre Sorhus
f0533f655d Bump dev dependencies 2017-10-18 10:14:40 +07:00
calebboyd
f653b061d6 Add TypeScript definitions (#207) 2017-10-18 10:10:43 +07:00
Kevin Martensson
5e6d5fda44 Add strip-ansi-stream to related modules 2017-09-20 18:03:52 +02:00
LitoMore
7898eda561 Update chalk-pipe description 2017-08-24 01:15:18 -07:00
LitoMore
37db75e1fd Add related package in the readme 2017-08-24 01:15:18 -07:00
Sindre Sorhus
a9f0c77142 Use a Map and some minor regex tweaks 2017-08-07 17:42:39 +02:00
Josh Junon
38f641a222 v2.1.0 2017-08-06 20:51:22 -07:00
Josh Junon
69ac663f29 Fix undefined and null interpolated expressions (fixes #194) 2017-08-06 18:58:17 -07:00
Josh Junon
106f086aaf Rewrite templating system (closes #186, fixes #184) 2017-08-06 18:58:17 -07:00
Josh Junon
f0c0178d12 Allow multiple arguments in base chalk object (fixes #187) 2017-08-06 18:58:17 -07:00
Josh Junon
0827d3b632 Fix level when supportsColor returns falsey (fixes #176, #175) 2017-08-06 18:58:17 -07:00
Josh Junon
fbd17e7a69 Escape backslashes in template arguments (fixes #177) 2017-08-06 18:58:17 -07:00
Josh Junon
7a75399b72 Add failing template tests 2017-08-06 18:58:17 -07:00
Boris K
7dbd8c3993 Add related packages in the readme (#193)
Added chalk-animation as suggested by @sindresorhus
Added gradient-string because it also uses chalk and provides new features.
2017-08-02 01:41:35 +02:00
Sindre Sorhus
4c4ba2df3d Fix template literal test 2017-07-23 22:24:56 +02:00
Kevin Mårtensson
4c4eb1fd0a Move testing to ava (#182) 2017-07-23 22:17:33 +02:00
Kevin Mårtensson
e8d28f3041 Return empty string when there are no arguments (#183) 2017-07-23 22:13:55 +02:00
Vadim Demedes
5cdd9eddf8 Demonstrate crash when using Truecolor methods and color is unsupported (#174) 2017-07-22 00:03:49 +02:00
Josh Junon
23092eefd2 add note about brightBlack (ref chalk/ansi-styles#33) 2017-07-07 16:03:36 -07:00
Sindre Sorhus
8d26c1401c Minor meta tweaks 2017-06-30 17:19:57 +02:00
Sindre Sorhus
5ec90cb354 Link to v2 release notes 2017-06-30 12:53:46 +02:00
Sindre Sorhus
3d10f8fad7 Code style tweaks 2017-06-30 12:42:24 +02:00
Josh Junon
5827081719 2.0.1 2017-06-29 20:26:07 -07:00
Josh Junon
caeb7d8dca fix missing TERM cases 2017-06-29 20:11:09 -07:00
Sindre Sorhus
3fca6150e2 2.0.0 2017-06-30 01:49:18 +02:00
Josh Junon
f66271e01a Add tagged template literal (#163) 2017-06-30 01:46:19 +02:00
Josh Junon
23ef1c7ca2 fix linter errors 2017-06-29 16:05:28 -07:00
Josh Junon
c0155688cf add rainbow example 2017-06-29 16:00:51 -07:00
Josh Junon
09fb2d8606 Re-implement chalk.enabled (#160) 2017-06-29 22:34:00 +02:00
Josh Junon
608242a4fc spoof supports-color 2017-06-29 00:01:36 -07:00
Josh Junon
18f2e7c122 add host information output 2017-06-29 00:01:36 -07:00
Josh Junon
523b998e64 Revert "TEMPORARY: emergency travis CI fix (see comments)"
This reverts commit 54975fb20d.
2017-06-29 00:01:19 -07:00
Josh Junon
54975fb20d TEMPORARY: emergency travis CI fix (see comments) 2017-06-28 23:42:38 -07:00