Skip to content

Conversation

@nathanbabcock
Copy link

picocolors-browser

chalk introduced browser support mid last year (chalk/chalk#535). ansi-colors also supports the browser.

In order to maintain parity with the packages that picocolors is benchmarked against, it should enable browser support too!

As the README says:

  • Node.js v6+ & browsers support

Closes #52

@alexeyraspopov
Copy link
Owner

Thank you for your contribution.

I won't be able to merge this PR. Picocolors' browsers support means bundlers won't break if the package gets accidentally added to browser bundles. The suggested feature only works in Chrome, which is not the whole Web.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Colors do not work in browser console

3 participants