-
I am looking for the fastest way to read the header of a CSV-file without reading the rest of the file.
-
```javascript
import * as request from "request";
const parseReport = (reportFileUrl, response) => {
csv({flatKeys: true})
.fromStream(request.get(reportFileUrl))
.pipe(resp…
-
I'm using this module w/ promises, but when I chain promises it seems not to work. Here is the sample code:
```javascript
const converter = require('csvtojson')({ignoreEmpty: true,checkColumn:tru…
-
Hi
Thanks for such great module. It seems like in version 1.1.0 ['preProcessLine' ](https://github.com/Keyang/node-csvtojson/blob/master/dist/csvtojson.js#L294) hook is never used. Will it be remove…
-
Upgrading my project to v1.1.1 seemed to produce a regression where headers containing periods were being processed as if they were in object notation. Reverting my project to v1.1.0 resolved the iss…
-
My csv file is as follows:
```
id, name
1, Alice
2, Bob
```
For some reason `end_parsed` event never gets fired.
```
var converter = new Converter({
constuctResult: true,
delimiter: ',',
trim…
-
I'm facing an issue, when I use "checkColumn: true", end or end_parsed is not emitted. I do see errors for the records (on error) not parsed correctly. But need "end" event to do the response.
If i…
-
Pausing a stream() doesn't seem to have an effect - The parser proceeds reading the CSV as usual.
Take for example the following code:
```javascript
const rs = fs.createReadStream(this.csvPath)…
-
**Sample CSV Records**
```
ID FIELDVALUE TRANSLATIONVALUE
1 1 1 GB
2 2 2gig
3 4 4gig
4 8 8gig
5 AA AA Batteries
6 AAA AAA Batteries
```
So if I console.log after every record is parsed I get…
-
Node version 7.8.0
node-inspector version 1.0.0
When I use --debug-brk, with web debugger open, js continue executing .
If I don't open node-inspector, js executing will pause when using --debu…
PrinC updated
7 years ago