dres
v1.0.0
Published
Response Class for nodeJS applications
Readme
dres
Description
Dres is a JavaScript class that help you maintain consistency across your applications in regards to the response sent.
Usage
In order to use this class, you'll have to fetch it from npm, require it in your application and create a new instance of the class.
npm install --save dresconst DRES = require('dres');
...
this.body = new DRES('success', { userDetails: {...} });