[RFC]: add dedicated packages for terminal colors and terminal color-detection
- 主要语言
- JavaScript
- 星标
- 6k
- 派生
- 1.3k
- 平均合并
- 1 天 3 小时
- 30 天内合并 PR
- 611
描述
### Description
This RFC proposes adding packages for terminal colors and terminal color detection.
Potential locations for the package are discussed [here](https://github.com/stdlib-js/stdlib/pull/2254#discussion_r1610842438). Namely adding something along the lines of `@stdlib/cli/colors` and `@stdlib/assert/supports-color` is proposed.
### Related Issues
Related discussions https://github.com/stdlib-js/stdlib/pull/2341#issuecomment-2156153697, https://github.com/stdlib-js/stdlib/pull/2254#discussion_r1610842438
### Questions
No.
### Prior art:
- https://github.com/chalk/chalk
- https://github.com/chalk/supports-color
### Checklist
- [X] I have read and understood the [Code of Conduct](https://github.com/stdlib-js/stdlib/blob/develop/CODE_OF_CONDUCT.md).
- [X] Searched for existing issues and pull requests.
- [X] The issue name begins with `RFC:`.
贡献指南
调研方向
Start by reviewing the proposed package locations, @stdlib/cli/colors and @stdlib/assert/supports-color, along with the discussions in pull requests 2254 and 2341. Compare the prior art from chalk and supports-color. This RFC is complete when the package locations and scope are agreed upon; it does not yet specify an implementation or tests.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 20/100