How to choose the best npm module for your team?

046baac588d91fd78a85b189847a151d?s=47 Sota Sugiura
November 23, 2018

How to choose the best npm module for your team?

2018/11/23
Presented at NodeFest 2018@Tokyo

https://nodefest.jp/2018/

046baac588d91fd78a85b189847a151d?s=128

Sota Sugiura

November 23, 2018
Tweet

Transcript

  1. 5.
  2. 6.

    197

  3. 16.

    Define the Goal • There are still many problems to

    solve • We always use some tool to solve that problem
  4. 18.

    Search a npm module • www.npmjs.com • awesome-* pages •

    Recommendation from other engineers • Googling
  5. 20.

    Select from candidates • When you have multiple choices, you

    need to compare them • There are a lot of points to do that
  6. 21.

    • Star count • API design • Size of community

    • Performance • Documentation • Test coverage • Quality of code • and so on...
  7. 23.

    Again, the Goal is... • Let’s decide the priority by

    thinking about the Goal • If you will use it for prototyping, not necessary to mind test coverage • If you will use it for only development environment, file size won’t be a problem
  8. 26.

    Using a npm module is not free :( • It

    takes time to maintain • Managing vulnerability/version • If maintenance stops, you will need to fork it
  9. 27.

    Think about Pros/Cons everytime • We SHOULD think about Pros/Cons

    everytime • What is the benefit to use that? • What is the problem to use that? • If Pros won, let’s use that!
  10. 29.
  11. 32.

    Make it better! • You should be able to explain

    the reason • It’ll be a good experience even if you made a wrong decision