← Back to context

Comment by dsff3f3f3f

3 months ago

I wouldn't use debug or ansi-styles. They're not even remotely close to being worth adding a dependency. Obviously none of them are trustworthy now though.

I wouldn’t even use chalk. Altering terminal output is easy. But it should be used sparingly.

  • You're right. I only looked at the source for debug and ansi-styles. After looking at chalk it's insanity to add that as a dependency as well.

    • And yet it has 300M weekly downloads. I am fairly sure that most of these are not because it is a direct dependency of people's projects, but rather it is a dependency of a dependency of a dependency.

      1 reply →