node-send-response
v1.0.4
Published
it gives response as a object with a function with three parameters
Downloads
3
Readme
#install
node-send-response
can be installed using [NPM][npm]
$ npm install node-send-response
#require
let response = require('node-send-response')
example
let r = response('hello world',true,{"hello":["world"]})
console.log(r);
#response
{
"message": "hello world",
"status": true,
"data": {
"hello": ["world"]
}
}