We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 590d558 + b5649c4 commit 2007658Copy full SHA for 2007658
1 file changed
readme.md
@@ -111,6 +111,23 @@ csv()
111
112
```
113
114
+### From CSV Url
115
+
116
+```js
117
+const request=require('request')
118
+const csv=require('csvtojson')
119
120
+csv()
121
+.fromStream(request.get('http://mywebsite.com/mycsvfile.csv'))
122
+.on('csv',(csvRow)=>{
123
+ // csvRow is an array
124
+})
125
+.on('done',(error)=>{
126
127
128
129
+```
130
131
### Convert to CSV row arrays with csv header row
132
133
```js
0 commit comments