From 0e6fecc7f7fd8158d3c96fb89608b8dfb744fdfa Mon Sep 17 00:00:00 2001
From: Edwin Kofler <24364012+eankeen@users.noreply.github.com>
Date: Thu, 12 Dec 2019 12:12:22 -0800
Subject: [PATCH 1/7] Add link to replit run (#379)
---
.replit | 2 ++
readme.md | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
create mode 100644 .replit
diff --git a/.replit b/.replit
new file mode 100644
index 00000000..cf3930d8
--- /dev/null
+++ b/.replit
@@ -0,0 +1,2 @@
+language = "nodejs"
+run = "cd examples && node rainbow"
diff --git a/readme.md b/readme.md
index 877cb93b..c38fa60b 100644
--- a/readme.md
+++ b/readme.md
@@ -9,7 +9,7 @@
> Terminal string styling done right
-[](https://travis-ci.org/chalk/chalk) [](https://coveralls.io/github/chalk/chalk?branch=master) [](https://www.npmjs.com/package/chalk?activeTab=dependents) [](https://www.npmjs.com/package/chalk) [](https://www.youtube.com/watch?v=9auOCbH5Ns4) [](https://github.com/xojs/xo) 
+[](https://travis-ci.org/chalk/chalk) [](https://coveralls.io/github/chalk/chalk?branch=master) [](https://www.npmjs.com/package/chalk?activeTab=dependents) [](https://www.npmjs.com/package/chalk) [](https://www.youtube.com/watch?v=9auOCbH5Ns4) [](https://github.com/xojs/xo)  [](https://repl.it/github/chalk/chalk)
From 797461ee3232c0013afc9b51d18ea2ba87227f10 Mon Sep 17 00:00:00 2001
From: Sindre Sorhus
Date: Wed, 1 Jan 2020 19:05:40 +0100
Subject: [PATCH 2/7] Meta tweaks
---
package.json | 3 ++-
readme.md | 14 +-------------
2 files changed, 3 insertions(+), 14 deletions(-)
diff --git a/package.json b/package.json
index 047adf92..0a4aaa98 100644
--- a/package.json
+++ b/package.json
@@ -4,6 +4,7 @@
"description": "Terminal string styling done right",
"license": "MIT",
"repository": "chalk/chalk",
+ "funding": "https://github.com/chalk/chalk?sponsor=1",
"main": "source",
"engines": {
"node": ">=8"
@@ -49,7 +50,7 @@
"execa": "^3.2.0",
"import-fresh": "^3.1.0",
"matcha": "^0.7.0",
- "nyc": "^14.1.1",
+ "nyc": "^15.0.0",
"resolve-from": "^5.0.0",
"tsd": "^0.7.4",
"xo": "^0.25.3"
diff --git a/readme.md b/readme.md
index c38fa60b..a0ca2456 100644
--- a/readme.md
+++ b/readme.md
@@ -13,7 +13,6 @@
-
## Highlights
- Expressive API
@@ -24,8 +23,7 @@
- Doesn't extend `String.prototype`
- Clean and focused
- Actively maintained
-- [Used by ~46,000 packages](https://www.npmjs.com/browse/depended/chalk) as of October 1, 2019
-
+- [Used by ~50,000 packages](https://www.npmjs.com/browse/depended/chalk) as of January 1, 2020
## Install
@@ -33,7 +31,6 @@
$ npm install chalk
```
-
## Usage
```js
@@ -107,7 +104,6 @@ console.log(chalk.green('Hello %s'), name);
//=> 'Hello Sindre'
```
-
## API
### chalk.`