Flexible output handling for easy API developing with node + express.
npm i dmboutput -s
const out = require('dmboutput');
Easy output of what you could want as json API. Don't worry it's string, object, redirection or even an error object. The function will find the best way to output to client.
Handle errors and exceptions and output them easy. Full ready for working with output function, so you can aggregate an code status to the error message.
Tells you if the returned object is an error (both native error and dmboutput error).