Check the affected rows after inserting csv to mysql and return the total number of affected rows This package is based on csv2mysql(https://www.npmjs.com/package/csv2mysql).
npm install insert-csv-to-mysql
var csv2mysql = require('insert-csv-to-mysql');
csv2mysql([options], [path]);
npm test
MIT