This commit is contained in:
Sindre Sorhus 2013-08-03 03:38:42 +02:00
parent 67c13926c3
commit d60eeb9df3
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "chalk", "name": "chalk",
"version": "0.1.0", "version": "0.1.1",
"description": "Terminal string styling done right", "description": "Terminal string styling done right",
"keywords": [ "keywords": [
"color", "color",

View file

@ -50,7 +50,7 @@ console.log(error('Error!'));
## API ## API
### chalk.\<style\>\[.\<style\>...\](*string*) ### chalk.\<style\>\[.\<style\>...\](string)
Chain [styles](#styles) and call the last one as a method with a string argument. Chain [styles](#styles) and call the last one as a method with a string argument.
@ -77,7 +77,7 @@ console.log(chalk.styles.red);
//=> \x1b[31m //=> \x1b[31m
``` ```
### chalk.stripColor(*string*) ### chalk.stripColor(string)
Strip color from a string. Strip color from a string.