Skip to content

⚡️ Performance: Switch from picocolors to Node.js utils styleText? #6148

Description

@JoshuaKGoldberg

Performance Suggestion Checklist

Overview

Quoting @Lightning00Blade's #6122 (comment):

Maybe you can correct me if I am wrong but picocolors seems to be used only in the CLI part (NodeJS). So maybe it can be replaced with NodeJS native solution. https://nodejs.org/api/util.html#utilstyletextformat-text-options

Validations

Generally good as part of #6122.

Additional Info

This isn't a 100% sure issue. It might be that there's something missing in the native Node.js solution. TBD.

Metadata

Metadata

Assignees

Labels

status: in triagea maintainer should (re-)triage (review) this issue

Type

No type

Projects

Status
No status

Relationships

None yet

Development

No branches or pull requests

Issue actions