using:readStream.on('data', data => { console.log(data.toString('utf8')); const dynamoDbDocument = { // csv parse each line }; i'm receiving my data as expected, but i want to add header names and am unsure how so i'm receiving:field1, field2, field3,field4 field1, field2, field3,field4 field1, field2, field3,field4 but i want it to readheader1, header2, header3,header4 field1, field2, field3,field4 field1, field2, field3,field4 field1, field2, field3,field4 any help would be amazing
Submitted August 01, 2017 at 09:43PM by csunderman
No comments:
Post a Comment