Sindre Sorhus
eff96c2c15
readme tweaks
2014-06-24 17:23:43 +02:00
Sindre Sorhus
763b167349
refactor and extract the RegExp escaping
2014-06-24 17:13:41 +02:00
Sindre Sorhus
1956792293
Merge pull request #25 from jbnicolai/nested-expressions
...
Adds support for nested chalk expressions.
2014-06-24 16:26:22 +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
1ec4985bc0
Delete screenshot.png
2014-06-22 01:31:17 +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
Sindre Sorhus
90e2260f58
Merge pull request #18 from tunnckoCore/patch-1
...
update "used by" (number of dependents)
2014-05-18 02:32:55 +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
af4983c011
bump strip-ansi
2014-03-26 16:37:06 +01: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
b0addb86d6
Update index.js
2013-12-16 19:25:01 +01:00
Sindre Sorhus
0a33a270b1
0.4.0
2013-12-13 20:30:27 +01:00
Sindre Sorhus
d30fd3c3bd
improve package.json
2013-12-13 20:27:10 +01:00
Sindre Sorhus
d2a1052042
use index.js
2013-12-13 20:22:40 +01:00
Sindre Sorhus
342686202d
Improve docs
2013-12-13 20:21:51 +01:00
Sindre Sorhus
639f6b95cb
simplify logic
2013-12-13 19:54:22 +01:00
Sindre Sorhus
fc53420ae4
Update readme.md
2013-12-13 19:53:00 +01:00
Sindre Sorhus
492d63916c
don't output escape codes if the input is empty
2013-12-08 01:07:21 +01:00
Sindre Sorhus
879defda72
Update to latest ansi-styles
2013-12-08 01:02:35 +01:00
Sindre Sorhus
a66c486301
use strip-ansi
...
https://github.com/sindresorhus/strip-ansi
2013-12-08 00:33:08 +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
Sindre Sorhus
b0a0e42bfe
0.3.0
2013-10-19 17:58:04 +02:00
Sindre Sorhus
5bbb44b5a8
Merge pull request #7 from L1fescape/master
...
Variable arguments and falsy values
2013-10-19 08:57:13 -07:00
Sindre Sorhus
50da33ff12
stripColor() - gracefully handle non-string input
2013-10-12 19:18:24 +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
0133342393
0.2.1
2013-08-29 16:14:33 +02:00
Sindre Sorhus
38efc4600b
Alias grey to gray. Fixes #3
2013-08-29 16:14:18 +02:00
Sindre Sorhus
f7514e8055
Improved screenshot
2013-08-12 21:06:02 +02:00
Sindre Sorhus
cbc3900ece
Update readme.md
2013-08-04 22:06:27 +02:00
Sindre Sorhus
c8f8a1f6f3
0.2.0
2013-08-03 18:48:02 +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
466710d17e
0.1.0
2013-08-03 02:21:21 +02:00
Sindre Sorhus
cffc3552b0
init
2013-08-03 02:18:58 +02:00