▲ | oezi 3 days ago | |||||||
The key thing needed is a standard library which includes 100000 of these tiny one function libraries (has-ansi, color-name). | ||||||||
▲ | lynnharry 3 days ago | parent [-] | |||||||
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? | ||||||||
|