jczaplew/csv-express

res.csv is not a function

osinakayah opened this issue · 2 comments

res.csv is not a function

Could you please provide more information? For example, a working example that produces that behavior and the version of express you are using.

Have you made sure to import the library

const csv = require('csv-express');

I've seen people leave that bit out accidentally because the import is unused so sometimes linter's remove it.