Comment by phpisthebest
2 years ago
You mean you would write your own leftpad function instead of pulling in a $1 npm dependency
That is crazy. /s
2 years ago
You mean you would write your own leftpad function instead of pulling in a $1 npm dependency
That is crazy. /s
It would actually be amazing if you could do that—somehow stub dependencies with your own libraries.
Because the number of times I’ve needed a left pad lib is literally 0, but other, more useful libraries always have it as a dependency.