'console.log(docs) printing whole document well but i want to display only id (object id)
i am trying to access the first phone number which is stored in array of objects in csv file and being converted to jsonObj .
csv()
.fromFile(csvFilePath)
.then((jsonObj)=>{
console.log(jsonObj);
currently getting this output [ { phoneNumber: '90909909090' }, { phoneNumber: '909090900' } ]
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
