But as user of these small libraries I always struggle with finding the right packages:
- npm has almost 250 000 packages and most of them are bad: no tests, no license, no docs, readme in Chinese, even no code sometimes.
- Many packages do the same thing and even have almost identical code.
- Many packages were abandoned: no updates, author doesn’t use them either.
- People still publish their packages on Bower only.
- Sometimes it’s hard to understand what to search: what the right thing to outsource is and what could possibly have been done before.
Juho Vepsäläinen has a list of npm search tools but they don’t solve the problem.
This is still an unsolved question for me and I hope we’ll see more sophisticated search tools that will consider many parameters to rank search results: npm installs in the last month, GitHub stars, latest release date, opened issues, test coverage, etc.
JS.coach is very close to that but they only have modules for React, webpack, Babel, etc.
And I believe it will decrease the number of almost identical libraries because authors will be able to easily find what’s already available.
Update. Looks like the search problem is pretty much solved by the new npms.io. It’s really awesome!