3 ms·
Left-pad was a trustable, fast, well-tested package too, up until NPM let it disappear.
by AgentME 11y ago
Left-pad was a trustable, fast, well-tested package too, up until NPM let it disappear.
- esailija 11y agoHow is it fast? (obviously it was not trustable or well-tested) It is the slowest possible way to implement string padding without any optimization effort whatsoever. This is what I hate about npm, every module claims to be fast even though they have made no effort to be fast.
- goldbrick 11y agoIt's fast 'cus it uses libuv, duh!