DEV Community

Discussion on: The node_modules problem

Collapse
 
ballpointcarrot profile image
Christopher Kruse

At the risk of being too snarky this morning:

a library that sums two numbers (hypothetical example, I hope)

npmjs.com/package/addition2

Collapse
 
yorodm profile image
Yoandy Rodriguez Martinez • Edited

That's the reason why some developers can't have nice things.

Collapse
 
leoat12 profile image
Leonardo Teteo • Edited

Thanks for making me lose my hope in humanity today. hahahaha

Collapse
 
ytjchan profile image
ytjchan

Lucky it doesn't have its own dependencies...

Collapse
 
mattkocaj profile image
matt kocaj

But really.. how surprised would have you been? :p

Collapse
 
asday profile image
Asday

github.com/sentialx/add-2-numbers too. Less features, but a better algorithm.

Collapse
 
josepalacid profile image
Josep Alacid

LOL

Collapse
 
josepalacid profile image
Josep Alacid • Edited

You just uploaded it!
Didn't you?
;)

Collapse
 
asday profile image
Asday

Well probably not, because this thread is coming up on a year old, now.

Collapse
 
lkho profile image
LKHO

Anyone want to try out addition3? I have added support for TypeScript/ES6 and some more syntactic sugar for the goodness' sake. I have tried very hard not to make it the same functionality of lodash.add so that it can be added as a dependency reasonably :)

Collapse
 
vitalcog profile image
Chad Windham

Yup. My first thought when I read that line was, "I don't even have to check. I'm sure it is there..."

Collapse
 
geocine profile image
Aivan Monceller

and it has 4 downloads 😂

Collapse
 
ssomlai profile image
Simon Somlai

Aah damn, I just needed something that could add four numbers. I'll keep looking!

Collapse
 
ballpointcarrot profile image
Christopher Kruse

Lol - looks like a good time to submit a pull request!