express-api-handler
A really dumb API handler to make your responses consistent.
Example
(click here for the full example)
// .... { return { var withSomeData = 'i': 'am' 'successful': 'data' ; ; };} { return { var withAnErrorMessage = 'You failed'; ; // This could be an object; whatever, doesn't matter. };} myApp; myApp; // ...