Skip to content

Commit bd73784

Browse files
committedJun 30, 2015
update references
1 parent c63e95c commit bd73784

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"description": "Terminal string styling done right. Much color.",
55
"license": "MIT",
6-
"repository": "sindresorhus/chalk",
6+
"repository": "chalk/chalk",
77
"maintainers": [
88
"Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)",
99
"Joshua Appelman <jappelman@xebia.com> (jbnicolai.com)"

‎readme.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
<h1 align="center">
22
<br>
3-
<img width="360" src="https://cdn.rawgit.com/sindresorhus/chalk/19935d6484811c5e468817f846b7b3d417d7bf4a/logo.svg" alt="chalk">
3+
<img width="360" src="https://cdn.rawgit.com/chalk/chalk/19935d6484811c5e468817f846b7b3d417d7bf4a/logo.svg" alt="chalk">
44
<br>
55
<br>
66
</h1>
77

88
> Terminal string styling done right
99
10-
[![Build Status](https://travis-ci.org/sindresorhus/chalk.svg?branch=master)](https://travis-ci.org/sindresorhus/chalk)
11-
[![Coverage Status](https://coveralls.io/repos/sindresorhus/chalk/badge.svg?branch=master)](https://coveralls.io/r/sindresorhus/chalk?branch=master)
10+
[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk)
11+
[![Coverage Status](https://coveralls.io/repos/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/r/chalk/chalk?branch=master)
1212
[![](http://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4)
1313

1414

1515
[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.
1616

1717
**Chalk is a clean and focused alternative.**
1818

19-
![](https://github.com/sindresorhus/ansi-styles/raw/master/screenshot.png)
19+
![](https://github.com/chalk/ansi-styles/raw/master/screenshot.png)
2020

2121

2222
## Why
@@ -107,13 +107,13 @@ var ctx = new chalk.constructor({enabled: false});
107107

108108
### chalk.supportsColor
109109

110-
Detect whether the terminal [supports color](https://github.com/sindresorhus/supports-color). Used internally and handled for you, but exposed for convenience.
110+
Detect whether the terminal [supports color](https://github.com/chalk/supports-color). Used internally and handled for you, but exposed for convenience.
111111

112112
Can be overridden by the user with the flags `--color` and `--no-color`. For situations where using `--color` is not possible, add an environment variable `FORCE_COLOR` with any value to force color. Trumps `--no-color`.
113113

114114
### chalk.styles
115115

116-
Exposes the styles as [ANSI escape codes](https://github.com/sindresorhus/ansi-styles).
116+
Exposes the styles as [ANSI escape codes](https://github.com/chalk/ansi-styles).
117117

118118
Generally not useful, but you might need just the `.open` or `.close` escape code if you're mixing externally styled strings with your own.
119119

@@ -128,11 +128,11 @@ console.log(chalk.styles.red.open + 'Hello' + chalk.styles.red.close);
128128

129129
### chalk.hasColor(string)
130130

131-
Check whether a string [has color](https://github.com/sindresorhus/has-ansi).
131+
Check whether a string [has color](https://github.com/chalk/has-ansi).
132132

133133
### chalk.stripColor(string)
134134

135-
[Strip color](https://github.com/sindresorhus/strip-ansi) from a string.
135+
[Strip color](https://github.com/chalk/strip-ansi) from a string.
136136

137137
Can be useful in combination with `.supportsColor` to strip color on externally styled text when it's not supported.
138138

0 commit comments

Comments
 (0)
Please sign in to comment.