add .hasColor() method - fixes #23

This commit is contained in:
Sindre Sorhus 2014-06-24 21:34:11 +02:00
parent eff96c2c15
commit 90bd6477d6
4 changed files with 15 additions and 1 deletions

View file

@ -42,7 +42,8 @@
"dependencies": {
"ansi-styles": "^1.1.0",
"escape-string-regexp": "^1.0.0",
"strip-ansi": "^0.2.0",
"has-ansi": "^0.1.0",
"strip-ansi": "^0.2.2",
"supports-color": "^0.2.0"
},
"devDependencies": {