uh-responder
Urbanhire API helper for give json response success or error
Usage
const uhResonseder = app // example response json outputconst output = users companies res // example output with extraData fields const output = users companies const extraData = success: true res // example error response api res
This project uses JavaScript Standard Style - if the name or style choices bother you, you're gonna have to get over it :)