|
|
@ -60,8 +60,8 @@ emitter.on('parseFromUrl.error', ({ url, columns, error }) => { |
|
|
|
|
|
|
|
|
|
|
|
// Create a new listener for the parse start event
|
|
|
|
emitter.on('parse.start', ({ filepath, columns, headers }) => { |
|
|
|
log('parse.start', `Parsing ${filepath} with columns and headers ${headers.join(', ')}`); |
|
|
|
emitter.on('parse.start', ({ filepath, columns, headers, result }) => { |
|
|
|
log('parse.start', `Parsing ${filepath} with columns and headers \n [${headers.join(', ')}] \n and filtred headers \n [${result.join(', ')}]`); |
|
|
|
}); |
|
|
|
|
|
|
|
// Create a new listener for the parse.end event
|
|
|
|