News for hackers. Stuff that matters.
Re:It’s OK for your open source library to be a bit shitty (... by vxNsr on Sunday May 17, 2020 @12:07PM (#23212874)
You're misunderstanding, what is the use-case of that specific package? like I've never found myself needing to pad text on the left, just trying to understand why this was such an important package.
Re:It’s OK for your open source library to be a bit shitty (... by zomglings on Sunday May 17, 2020 @01:07PM (#23213358)
Probably for command line tools that need to add some level of hierarchy into their output. You can add 1 to pad length and pass it to a subcomponent to display its output.
Re:It’s OK for your open source library to be a bit shitty (... by scambier on Monday May 18, 2020 @03:07AM (#23219254)
I don't have any use for it either, but this package is not important by itself. It happens that this package is (was) at the very bottom of the dependency chain for some huge packages (like Babel, Webpack, popular frameworks, ...).

When its creator removed it, they literally destroyed the foundation of those popular packages. That's what made it suddenly important.