1.0.4 • Published 1 year ago
node-send-response v1.0.4
#install
node-send-response
can be installed using 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"]
}
}