json-colorizer
json-colorizer copied to clipboard
Consider using colorette instead of chalk
https://www.npmjs.com/package/colorette
- Up to two times faster;
- Zero dependencies;
- Much simpler library.
If accepted, I could provide a PR for the conversion.
@kibertoad we should just fork this one and use the fork in pino-pretty if the PR is not accepted.
I have forked it and switched to colorette. You can install the fork from here: https://www.npmjs.com/package/@capaj/json-colorizer
Better late than never, but I just released a new version that uses colorette instead of chalk. Glad I switched, it's much faster!
woohoo!