Remix.run Logo
lynnharry 3 days ago

I checked has-ansi. What's the reason that this library would exist and be popular? Most of the work is done by the library it imports, ansi-regex and then it just return ansi-regex.test(string), yet it has 5% of the weekly downloads of ansi-regex. ansi-regex also has fewer than 10 lines of code.

I don't know anything about the npm ecosystem, what's the benefit of importing these libraries compared to including these code in the project?

herewulf 3 days ago | parent [-]

The benefit is getting your secrets stolen and pointing the blame at someone else? Yeah...