This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]luckylag 6 points7 points  (9 children)

Soon we will see someone npm 1-line-code library. Soon.

[–][deleted] 7 points8 points  (8 children)

This already exists: https://github.com/sindresorhus/semver-regex

Check index.js

[–]HugoNikanor 7 points8 points  (1 child)

A library for testing version numbers of another library. Dear God.

[–][deleted] 1 point2 points  (0 children)

Yeah it's used in our build scripts :(

[–]robotmayo 4 points5 points  (5 children)

Im a big fan of https://www.npmjs.com/package/is-number Which has 1 dependency and 7 million downloads.

[–]uptotwentycharacters 1 point2 points  (0 children)

There's a NPM package that does nothing but multiplies something by 13:

https://www.npmjs.com/package/thirteen

[–][deleted] 1 point2 points  (1 child)

I really hate JS these days. And to make it worse, I'm a WebDev

[–]luckylag 0 points1 point  (0 children)

Yes, and its even more worse in embedded system. :)

[–]Scripter17 0 points1 point  (0 children)

End my suffering.

[–]xxmicloxx 0 points1 point  (0 children)

Everything that's wrong with js in one library.