Fetch and query CSV data from url, file, or memory.
npm install csv-es6-data-backend
import CSV from 'csv-es6-data-backend';
CSV.fetch(dataset).then(data => {
// data is formatted:
{
fields: ['field1', 'field2', ...],
records: [{ field1: 'value'}, ...]
}
});