minor tweaks

This commit is contained in:
Sindre Sorhus 2015-05-25 13:18:05 +02:00
parent e59ae67ebb
commit c8e08f5e79
3 changed files with 9 additions and 6 deletions

2
.gitignore vendored
View file

@ -1,3 +1,3 @@
node_modules node_modules
coverage coverage
nyc_output .nyc_output

View file

@ -5,8 +5,8 @@
"license": "MIT", "license": "MIT",
"repository": "sindresorhus/chalk", "repository": "sindresorhus/chalk",
"maintainers": [ "maintainers": [
"Sindre Sorhus <sindresorhus@gmail.com> (http://sindresorhus.com)", "Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)",
"Joshua Appelman <jappelman@xebia.com> (http://jbnicolai.com)" "Joshua Appelman <jappelman@xebia.com> (jbnicolai.com)"
], ],
"engines": { "engines": {
"node": ">=0.10.0" "node": ">=0.10.0"
@ -28,7 +28,9 @@
"console", "console",
"cli", "cli",
"string", "string",
"str",
"ansi", "ansi",
"style",
"styles", "styles",
"tty", "tty",
"formatting", "formatting",

View file

@ -7,15 +7,16 @@
> Terminal string styling done right > Terminal string styling done right
[![Build Status](https://travis-ci.org/sindresorhus/chalk.svg?branch=master)](https://travis-ci.org/sindresorhus/chalk) [![](http://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) [![Build Status](https://travis-ci.org/sindresorhus/chalk.svg?branch=master)](https://travis-ci.org/sindresorhus/chalk)
[![Coverage Status](https://coveralls.io/repos/sindresorhus/chalk/badge.svg?branch=)](https://coveralls.io/r/sindresorhus/chalk?branch=) [![Coverage Status](https://coveralls.io/repos/sindresorhus/chalk/badge.svg?branch=master)](https://coveralls.io/r/sindresorhus/chalk?branch=master)
[![](http://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4)
[colors.js](https://github.com/Marak/colors.js) used to be the most popular string styling module, but it has serious deficiencies like extending `String.prototype` which causes all kinds of [problems](https://github.com/yeoman/yo/issues/68). Although there are other ones, they either do too much or not enough. [colors.js](https://github.com/Marak/colors.js) used to be the most popular string styling module, but it has serious deficiencies like extending `String.prototype` which causes all kinds of [problems](https://github.com/yeoman/yo/issues/68). Although there are other ones, they either do too much or not enough.
**Chalk is a clean and focused alternative.** **Chalk is a clean and focused alternative.**
![screenshot](https://github.com/sindresorhus/ansi-styles/raw/master/screenshot.png) ![](https://github.com/sindresorhus/ansi-styles/raw/master/screenshot.png)
## Why ## Why