If you installed it with npm, you should be able to import it with this line:
const createCsvWriter = require('csv-writer')
I would refer to the documentation here for more details.
Refer to Pablo’s answer below
If you installed it with npm, you should be able to import it with this line:
const createCsvWriter = require('csv-writer')
I would refer to the documentation here for more details.
Refer to Pablo’s answer below