Comparing version 0.3.1 to 0.4.0
@@ -12,3 +12,3 @@ var fs = require("fs"), | ||
options = options || {}; | ||
var delimiter = options.delimeter || ",", | ||
var delimiter = options.delimiter || ",", | ||
ESCAPE_REGEXP = new RegExp("[" + delimiter + "\\r\\n']"), | ||
@@ -15,0 +15,0 @@ QUOTE = options.quote || '"', |
{ | ||
"name": "fast-csv", | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"description": "CSV parser and writer", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -22,4 +22,4 @@ [![build status](https://secure.travis-ci.org/C2FO/fast-csv.png)](http://travis-ci.org/C2FO/fast-csv) | ||
* `delimiter=','`: If your data uses an alternate delimiter such as `;` or `\t`. | ||
* **NOTE** When specifying an alternate `delimiter` you may only pass in a single character delimeter | ||
* `quote='"'`: The character to use to escape values that contain a delimeter. | ||
* **NOTE** When specifying an alternate `delimiter` you may only pass in a single character delimiter | ||
* `quote='"'`: The character to use to escape values that contain a delimiter. | ||
* `escape='"'`: The character to use when escaping a value that is `quoted` and contains a `quote` character. | ||
@@ -26,0 +26,0 @@ * `i.e`: 'First,"Name"' => '"First,""name"""' |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
104010