DEV Community

Essential packages for Node.js newbies

Antonio on December 12, 2018

Finding packages in NPM that solve certain problem or that just can make your life easier as a developer can be difficult, and even more if you're ...
Collapse
 
joelnet profile image
JavaScript Joel

I would recommend Jest for testing. I have switched from other test frameworks to Jest because it has a lot of things built in. The big one I always setup is istanbul. Jest has this configured automatically by just adding a flag jest --coverage. It has saved me a lot of setup time.

Collapse
 
uf4no profile image
Antonio

Thanks for sharing! I didn't knew Jest could generate coverage reports out of the box.
I'll include it to the list :)

Collapse
 
w9jds profile image
Jeremy Shore

Why use axios when you can just use the built-in fetch functionality with @babel/polyfill? Also, I would recommend maybe hapi as well, since I have seen it used quite a bit as well.

Collapse
 
uf4no profile image
Antonio

Thanks! I'll check how to use fetch :)
I've added hapi to the list (didnt knew about it...)