You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 9, 2018. It is now read-only.
It'd be great to have this as middleware which would add to res object the csv method.
For example:
varexpressCsv=require('express-csv')// ...app.use(expressCsv)// ... or only apply it to some routes ...app.get('/some-route',expressCsv,function(req,res,next){res.csv([{a: 1,b: 2}])})
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It'd be great to have this as middleware which would add to
res
object thecsv
method.For example:
The text was updated successfully, but these errors were encountered: