return res
}
/*
transform.middleware = function (req, res, next) {
res.xls = function (fn, data, config) {
const xls = transform(data, config)
res.setHeader('Content-Type', 'application/vnd.openxmlformats')
res.setHeader('Content-Disposition', 'attachment filename=' + fn)
res.end(xls, 'binary')
}
next()
}
*/