Last Updated: February 25, 2016
·
771
· avnerner

Strategy for selecting NodeJS module

Github stargazzers are a good starting point, but they tell only part of the story.
For instance, some old library might have more stargazzers but a new one might be a better choice.

Here is what I would suggest as checklist for selecting your library:

  1. Check when the library was last updated and the public activity of the repository owner, you want to make sure it's still being actively supported.
  2. Check open issues, you want something where there is some community involvement, same goes for pull requests.
  3. Check the documentation of the library - readme/examples are priceless for rapid prototyping.
  4. Check the tests, are they being updated with new features? are there any tests at all?
  5. How intrusive is this lib going to be in your code base?

I'll be happy to hear others thoughts on this.