node-csvtojson
node-csvtojson copied to clipboard
Blazing fast and Comprehensive CSV Parser for Node.JS / Browser / Command Line.
When I'm parsing a column I have specified as numerical using the colParser parameter, it is returning empty values as empty strings, instead of nulls. This results in JSON with...
Hello, I am using the following sample code to convert CSV to JSON. while iterating csv rows, first iteration the lineIdx value coming as 1 and second-iteration also lineIdx value...
I am just testing out how the library handles errors. I can't seem to get it to throw an error with `maxRowLength` exceeded. https://codesandbox.io/s/csvtojson-max-row-length-24v2w maxRowLength = 4... Drop this in...
I have this: ```javascript const result = await csv() .fromFile(filePath) .subscribe(async (json, lineNumber) => { const saveResult = await saveToDb(json); if (!saveResult.isSuccessful) { log.error('throwing exception'); log.error(saveResult.exception); // this shows the...
Is it possible to include the original, unparsed line in JSON output? For example taking a file like this as input: ``` num,type,desc 1,cat,furry ``` and producing JSON like: ```json...
Hi there, trying to read a CSV file and stream its output data to another JSON array file. ``` var Converter = require("csvtojson").Converter; var csvConverter = new Converter({ constructResult: false,...
Running `npm install csvtojson` will install the package with a lot of development artifacts.  The `.ts-node` is particularly causing problems for use because it is blowing out file path...
Bundlephobia is reporting bundle size: ``` MINIFIED 165.7 kB MINIFIED + GZIPPED 46.2 kB ``` In comparison, csv-parse is: ``` MINIFIED 24.8 kB MINIFIED + GZIPPED 6.3 kB ```
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2. Commits See full diff in compare view Maintainer changes This version was pushed to npm by oss-bot, a new releaser for y18n since your...