Awesome Node.js: Curated list of delightful Node.js packages
github.com
github.com
https://github.com/shutterstock/node-common-errors
This is one of the most useful packages that I have come across. It gives you a range of common types of errors and a error handler that converts each error type into the appropriate HTTP status code.
This is very convenient (especially for APIs) as it builds readable error messages and correct status codes with very little work from the programmer.
Saves me a lot of time, personally, especially when developing SPAs where the API isn't finished yet.
The list was initially a text document on my computer as a reference on useful modules when learning Node, as the discovery on npm was really bad. 2 years later and the discovery on npm has gotten even worse. This is my try at making something a bit more coherent. It's obviously biased and I've included some of my own packages I find useful, but as stated earlier, happy to change things around.
It would have been great if registration was only necessary when actually deploying the site.
Traverse and transform objects by visiting every node on a recursive walk
Delightful without a doubt.