1.0.0 • Published 8 years ago

dres v1.0.0

Weekly downloads
6
License
ISC
Repository
github
Last release
8 years ago

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 dres
const DRES = require('dres');

...

this.body = new DRES('success', { userDetails: {...} });