diff --git a/CHANGELOG.md b/CHANGELOG.md index 26d2a25..0e3dba8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ -### 0.0.3: +### 0.0.3: 9 November 2016 * Fixed the bug that fields were not always surrounded by double quotes * Fixed the bug that white space characters on the edge of fields were trimmed diff --git a/README.md b/README.md index e594323..706160c 100644 --- a/README.md +++ b/README.md @@ -39,8 +39,8 @@ csvWriter.writeRecords(records) // returns a promise // Mary,English ``` -You can keep writing records into the same file by calling `writeRecords` multiple times (but need to wait for the fulfillment -of the `promise` of the previous `writeRecords` call) +You can keep writing records into the same file by calling `writeRecords` multiple times +(but need to wait for the fulfillment of the `promise` of the previous `writeRecords` call). ```js Promise.resolve() @@ -49,6 +49,10 @@ Promise.resolve() ... ``` +However, if you need to keep writing large data to a certain file, you would want to create +node's transform stream and use `CsvStringifier`, which is explained later, inside it +, and pipe the stream into a file write stream. + If you don't want to write a header line, don't give `title` to header elements and just give field ids as a string. ```js