csvjson-csv2json
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -29,3 +29,3 @@ (function() { | ||
errorNotWellFormed = "CSV is not well formed", | ||
errorEmpty = "Please upload a file or type in something.", | ||
errorEmpty = "Empty CSV. Please provide something.", | ||
errorEmptyHeader = "Could not detect header. Ensure first row cotains your column headers.", | ||
@@ -32,0 +32,0 @@ separators = [",", ";", "\t"], |
{ | ||
"name": "csvjson-csv2json", | ||
"description": "Converts CSV to JSON. Powers the most used online tool CSVJSON https://www.csvjson.com/csv2json. Used by thousands everyday.", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"author": "Martin Drapeau <martindrapeau@gmail.com>", | ||
@@ -6,0 +6,0 @@ "contributors": [], |
@@ -6,2 +6,4 @@ CSVJSON csv2json() function | ||
[npm package here](https://www.npmjs.com/package/csvjson-csv2json). | ||
# Usage | ||
@@ -116,6 +118,6 @@ Simply call `csv2json` passing a string to obtain JSON. The string may be CSV (comma separated values), TSV (tab separated values) or semi-colon separated values (typically used in French Excel). It will auto-detect the separator although you may override or force it via the `separator` option. | ||
You can of course test all of these options online on [CSVJSON/csv2json](https://www.csvjson.com/csv2json). | ||
You can of course test all of these options online on [www.csvjson.com/csv2json](https://www.csvjson.com/csv2json). | ||
# Tests | ||
Run the tests in your browser: [test-browser.html](./test-browser.html) | ||
Run the tests in your browser by opening `test-browser.html`. | ||
@@ -126,1 +128,4 @@ Run the tests through node: | ||
``` | ||
# Companion functions | ||
[JSON2_mod](https://github.com/martindrapeau/json2-mod) to beautify your JSON. [npm package here](https://www.npmjs.com/package/json2-mod). |
39879
128