Commit graph

23 commits

Author SHA1 Message Date
Sindre Sorhus
90bd6477d6 add .hasColor() method - fixes #23 2014-06-24 21:34:11 +02:00
Sindre Sorhus
eff96c2c15 readme tweaks 2014-06-24 17:23:43 +02:00
Joshua Appelman
d16b0ce367 Adds support for nested chalk expressions.
green(a + blue(b) + c) will now look the same as green(a) +
blue(b) + green(c), as expected. In the previous implementation the
output would have been green(a) + blue(b) + c, because the reset code of
the second expression would close all expressions around it as well.

Now this reset code is replaced by a start code of the outer lying
expression, both stopping the inner and re-starting the outer.
2014-06-23 13:25:47 +02:00
Sindre Sorhus
144421dc16 has-color => supports-color 2014-06-14 03:49:42 +02:00
Sindre Sorhus
90f012c793 1000+ dependents! ✌⊂(✰‿✰)つ✌ 2014-06-08 01:54:47 +02:00
Sindre Sorhus
cf7eb2d0c7 various tweaks 2014-06-04 01:47:53 +02:00
Sindre Sorhus
fa9bd4ebd9 bump ansi-styles 2014-06-04 01:41:17 +02:00
Charlike Mike Reagent
449fa45b40 update "used by" (number of dependents) 2014-05-18 03:30:42 +03:00
Sindre Sorhus
d5d08a0995 Update readme.md 2014-04-03 22:57:06 +02:00
Sindre Sorhus
d992309621 Update readme.md 2014-02-11 20:35:55 +01:00
Sindre Sorhus
ebf961e585 yay 2014-01-11 22:19:36 +01:00
Sindre Sorhus
13a555ede8 readme - add string substitution example
Fixes #8
2013-12-16 21:44:25 +01:00
Sindre Sorhus
342686202d Improve docs 2013-12-13 20:21:51 +01:00
Sindre Sorhus
fc53420ae4 Update readme.md 2013-12-13 19:53:00 +01:00
Sindre Sorhus
879defda72 Update to latest ansi-styles 2013-12-08 01:02:35 +01:00
Sindre Sorhus
77ae94f63a Add logo 2013-11-10 13:33:10 +01:00
Sindre Sorhus
15f928fce5 Update readme 2013-10-19 18:04:30 +02:00
Andrew Kennedy
6bb27b7759 handle the ability to pass in variable arguments (ex.
chalk.green("it's", "over", 9000)). updated readme to show support of
variable arguments.
2013-10-08 11:03:14 -04:00
Sindre Sorhus
cbc3900ece Update readme.md 2013-08-04 22:06:27 +02:00
Sindre Sorhus
c323bf0caf Add support for nested styles 2013-08-03 18:47:47 +02:00
Sindre Sorhus
d60eeb9df3 0.1.1 2013-08-03 03:48:26 +02:00
Sindre Sorhus
67c13926c3 readme tweaks 2013-08-03 02:27:52 +02:00
Sindre Sorhus
cffc3552b0 init 2013-08-03 02:18:58 +02:00