0.1.1
This commit is contained in:
parent
67c13926c3
commit
d60eeb9df3
2 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "chalk",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"description": "Terminal string styling done right",
|
||||
"keywords": [
|
||||
"color",
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ console.log(error('Error!'));
|
|||
|
||||
## API
|
||||
|
||||
### chalk.\<style\>\[.\<style\>...\](*string*)
|
||||
### chalk.\<style\>\[.\<style\>...\](string)
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
### chalk.stripColor(*string*)
|
||||
### chalk.stripColor(string)
|
||||
|
||||
Strip color from a string.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue