As I lamented earlier this year, it's increasingly difficult to find npm packages. One way to describe this is npmopeia. The feeling that the package you need exists. The problem is how to find that package.
That is where services like npms.io by André Cruz come in. To learn about the problem and this service in particular, let's hear more.
My name is André Cruz. I'm 28 years old and I live in Porto, Portugal with my wife and little child.
When I was a kid, I used to sneak into my brothers computer. Every time I used his computer, I asked myself how this little metal box was able to interpret and execute commands on my behalf. I quickly become intrigued and interested in knowing how it was built. Several years passed and, in the IRC apogee, I developed a several scripts for mIRC.
That's where my passion in coding and programming started. Since then, I've explored and used several technologies, became graduated in Computers and Telematic Engineering, gave a couple of talks and built many projects.
Fast-forward to the future, I'm the lead developer of BABOOM and I contribute to many open-source projects. Working in open-source heavily influenced me as a developer and as a person, for the better. I encourage everyone to the same. Not doing so is like going to Paris without visiting the Eiffel tower :)
npms.io is a replacement to the official npmjs.com search but with a key difference: the quality of the results are much much better:
promisesand you get totally different results just because of the plurality. This is just an example, but there are many more.
npms may look simple but is actually complex and it's composed of several projects:
The most interesting stuff happens in the
npms-analyzer. Its role is to process and analyze every single module from the npm ecosystem. The analysis process collects as much information as possible about a module which is then used to evaluate and produce a score. If you are interested in knowing more, you may read our architectural documention.
When I started the project, I knew that there were several other projects that tried to solve the npmjs.com problem. While they were an improvement over the official search, I felt that there was room for improvement.
What really makes
npms stand out from solutions like npmsearch or nipster is the quality of the search results. We collect much more information about a module, using sources like GitHub, David and Node Security Platform.
The more information we have from a module the better we can evaluate and score it. We have also invested a lot of time into polishing the scoring algorithm and the search weights to make the results even better.
Another strong point of npms is the clean and carefully written code. This makes it easier to do additions and modifications and will certainly benefit contributions.
Last but not least, npms is a new and shiny project which uses recent technologies such as ES6 modules, React and Redux.
npmjs.com allows developers to search for node modules, but, having used it for several years, I always felt that the overall experience and quality of the results were bad. I wanted to make my life and yours easier every time we wanted to search for a module.
I also saw an opportunity to learn and use new technologies, which I couldn't do due to my job's nature.
npms is far from being finished and every contribution is much appreciated:
npms-badgeprojects are yet to be done. Those will make the whole
npmsproject more complete.
npms will become obsolete by the time the official npm improves its current offering. Until then, npms will continue to evolve and improve over time. Diversity drives change.
You should definitively interview André Duarte. He has built npms with me and he has proven to be very valuable both conceptually and technically to the project.
Thanks for the interview André! The quality of the official npm search is definitely something I've felt personally. Sometimes finding the right package can be more painful than it has to be. Services like npms.io are therefore valuable as they save developer time.
Beyond using npms.io, consider contributing to the project. I'm sure André won't mind. :)