Skip to content

Commit

Permalink
fixup! Remove Readme.md from bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
H4ad committed Nov 1, 2023
1 parent db041d5 commit a6b9c4f
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
75 changes: 75 additions & 0 deletions readme_npm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<h1 align="center">
<br>
<br>
<img width="320" src="media/logo.svg" alt="Chalk">
<br>
<br>
<br>
</h1>

> 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)

<br>

---

<div align="center">
<p>
<p>
<sup>
Sindre Sorhus' open source work is supported by the community on <a href="https://github.com/sponsors/sindresorhus">GitHub Sponsors</a>
</sup>
</p>
<sup>Special thanks to:</sup>
<br>
<br>
<a href="https://standardresume.co/tech">
<img src="https://sindresorhus.com/assets/thanks/standard-resume-logo.svg" width="160">
</a>
<br>
<br>
<a href="https://retool.com/?utm_campaign=sindresorhus">
<img src="https://sindresorhus.com/assets/thanks/retool-logo.svg" width="230">
</a>
<br>
<br>
<a href="https://strapi.io/?ref=sindresorhus">
<div>
<img src="https://sindresorhus.com/assets/thanks/strapi-logo-white-bg.png" width="220" alt="Strapi">
</div>
<b>Strapi is the leading open-source headless CMS.</b>
<div>
<sup>It’s 100% JavaScript, fully customizable, and developer-first.</sup>
</div>
</a>
<br>
<br>
</p>
</div>

---

<br>

## 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)

0 comments on commit a6b9c4f

Please sign in to comment.