diff --git a/package.json b/package.json index 9ce4e16..c4a6bf5 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,8 @@ "scripts": { "test": "xo && c8 ava && tsd", "bench": "matcha benchmark.js", - "prepack": "node -p 'require(`fs`).renameSync(`./readme.md`, `./_readme.md`)'", - "postpack": "node -p 'require(`fs`).renameSync(`./_readme.md`, `./readme.md`)'" + "prepack": "node -p 'var fs = require(`fs`); fs.renameSync(`./readme.md`, `./_readme.md`); fs.renameSync(`./readme_npm.md`, `./readme.md`)'", + "postpack": "node -p 'var fs = require(`fs`); fs.renameSync(`./readme.md`, `./readme_npm.md`); fs.renameSync(`./_readme.md`, `./readme.md`);'" }, "files": [ "source", diff --git a/readme_npm.md b/readme_npm.md new file mode 100644 index 0000000..8b9fcc2 --- /dev/null +++ b/readme_npm.md @@ -0,0 +1,75 @@ +

+
+
+ Chalk +
+
+
+

+ +> Terminal string styling done right + +[![Coverage Status](https://codecov.io/gh/chalk/chalk/branch/main/graph/badge.svg)](https://codecov.io/gh/chalk/chalk) +[![npm dependents](https://badgen.net/npm/dependents/chalk)](https://www.npmjs.com/package/chalk?activeTab=dependents) +[![Downloads](https://badgen.net/npm/dt/chalk)](https://www.npmjs.com/package/chalk) + +![](media/screenshot.png) + +
+ +--- + +
+

+

+ + Sindre Sorhus' open source work is supported by the community on GitHub Sponsors + +

+ Special thanks to: +
+
+ + + +
+
+ + + +
+
+ +
+ Strapi +
+ Strapi is the leading open-source headless CMS. +
+ It’s 100% JavaScript, fully customizable, and developer-first. +
+
+
+
+

+
+ +--- + +
+ +## Highlights + +- Expressive API +- Highly performant +- No dependencies +- Ability to nest styles +- [256/Truecolor color support](#256-and-truecolor-color-support) +- Auto-detects color support +- Doesn't extend `String.prototype` +- Clean and focused +- Actively maintained +- [Used by ~86,000 packages](https://www.npmjs.com/browse/depended/chalk) as of October 4, 2022 + +... + +Read more on [Github](https://github.com/chalk/chalk)