dmboutput
v1.0.11
Published
Flexible output handling for easy API developing with node + express.
Downloads
17
Maintainers
Readme
dmboutput
Flexible output handling for easy API developing with node + express.
Install
npm i dmboutput -s
Import
const out = require('dmboutput');
Functions overview
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).