Commit graph

41 commits

Author SHA1 Message Date
Joshua Appelman
30dfb6d2d3 Fixes incorrect string concatenation in example.
Issue got introduced in 299f7d17 when removing console.log from the examples to shorten them.

References #44.
2014-12-28 12:37:19 +01:00
Sindre Sorhus
c11f8b527a add recommendation about using cmder instead of cmd.exe 2014-12-05 17:31:57 +07:00
Sindre Sorhus
fc6a9b27dc force blue color to be use bright blue on Windows - fixes #36
as the normal blue color is illegible
2014-12-05 16:27:16 +07:00
Sindre Sorhus
0b1c65dfd3 bump dependents count. now 2200+ \o/ 2014-11-23 18:57:13 +07:00
Sindre Sorhus
21143174c4 bump ansi-styles
the gray alias is now in ansi-styles
2014-11-23 18:56:00 +07:00
Sindre Sorhus
0f22588c59 readme - don't hard-wrap
no good reason to force a set line length when any editor supports soft-wrapping where you can set your own preferred size.
2014-08-31 00:51:39 +02:00
Joshua Appelman
32ff12e4c3 Adds a section on 256-colors.
Closes #35.
References #44.
2014-08-30 23:37:53 +02:00
Joshua Appelman
2c9044cc49 Minor rephrasing. 2014-08-30 23:16:28 +02:00
Joshua Appelman
299f7d1724 Removes console.log to simplify the example, and place the nested example on several lines. 2014-08-30 23:13:42 +02:00
Joshua Appelman
84b90410fe Removes $ prefix from shell command, to allow for syntax highlighting. 2014-08-30 23:10:03 +02:00
Joshua Appelman
a7b3e31cd3 Adds code tags around String.prototype. 2014-08-30 23:08:28 +02:00
Joshua Appelman
d55efc39b5 Rephrases, since Colors is no longer the most popular string styling module.
See: http://npm-stat.com/charts.html?package=chalk versus
http://npm-stat.com/charts.html?package=colors
2014-08-30 23:06:34 +02:00
Joshua Appelman
9864ba4581 Bumps the number of dependants to 1700. 2014-08-30 23:05:34 +02:00
Joshua Appelman
410bd76ad3 Linewraps at 80 where markdown syntax allows. 2014-08-30 22:53:00 +02:00
Joshua Appelman
75f63a837a Updates documentation regarding style application order. 2014-08-22 21:47:59 +02:00
Sindre Sorhus
af175295fb use rawgithub to workaround npm website bug with relative image paths 2014-07-04 23:23:45 +02:00
Joshua Appelman
2b859bb975 Adds performance to readme. 2014-07-04 21:30:02 +02:00
Sindre Sorhus
d9d6e9d7f4 Update readme.md 2014-06-26 00:18:23 +02:00
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