fixup! Remove Readme.md from bundle

This commit is contained in:
Vinícius Lourenço 2023-10-31 22:50:46 -03:00
parent db041d57f4
commit a6b9c4fac9
2 changed files with 77 additions and 2 deletions

View file

@ -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",

75
readme_npm.md Normal file
View file

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