jezen / is-thirteen

Check if a number is equal to 13.
5.52k stars 466 forks source link

23.57x larger than left-pad! Please fix! Needs more webscale #278

Open Daniel15 opened 8 years ago

Daniel15 commented 8 years ago

As we all know, left-pad is the epitome of npm packages. With over 2 million downloads per month, it is the gold standard that all other npm packages should strive to live up to. I'm proposing that we use LPU (Left-Pad Units) as the official unit of measurement for npm module size. One LPU is defined as 222 bytes, the size of left-pad v0.0.3.

The current version of is-thirteen is 5232 bytes, or approximately 23.57 LPU. This is not modular enough, and is unacceptable for a module that millions of people worldwide will be relying on. is-thirteen should be split up into 24 separate modules in order to be as webscale as left-pad.

Please fix this immediately, I'm launching my Node.js powered Kickstarter Y Combinator startup tomorrow and is-thirteen is absolutely critical for my business.

bali182 commented 8 years ago

I would be OK with just 13 separate modules, but I agree, 23.57 LPUs are quite extensive...