One of the biggest complaints about npmjs.org - and fairly so - has been the sub-optimal search functionality. With almost 65,000* packages in the repository, how do you know which package to choose?
Introducing: upgraded search!**
Packages are now scored by a nifty new algorithm that takes into account the package’s popularity (i.e. number of stars and average weekly downloads over a month). The algorithm also does some proper word parsing (so you can actually find “socket.io” with the search “socket io”) and gives higher weight to things that match the search query in the package name and details.
We’ve also added some extra data to the search page, so you can find the package you want, faster.
On top of all that, we’ve added some security fixes as per our security audit and a few visual features to help you get the most out of npmjs.org.
Take it for a spin and let us know what you think!
* As of today, 24 March 2014
** Yes, we know it’s not perfect. Yes, we know it could be EVEN BETTER. Have ideas? Create an issue!