Skip to content

Commit 7157aef

Browse files
committed
Updated README and Changelog
1 parent 6f19904 commit 7157aef

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
### 0.0.3:
2+
### 0.0.3: 9 November 2016
33

44
* Fixed the bug that fields were not always surrounded by double quotes
55
* Fixed the bug that white space characters on the edge of fields were trimmed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ csvWriter.writeRecords(records) // returns a promise
3939
// Mary,English
4040
```
4141

42-
You can keep writing records into the same file by calling `writeRecords` multiple times (but need to wait for the fulfillment
43-
of the `promise` of the previous `writeRecords` call)
42+
You can keep writing records into the same file by calling `writeRecords` multiple times
43+
(but need to wait for the fulfillment of the `promise` of the previous `writeRecords` call).
4444

4545
```js
4646
Promise.resolve()
@@ -49,6 +49,10 @@ Promise.resolve()
4949
...
5050
```
5151

52+
However, if you need to keep writing large data to a certain file, you would want to create
53+
node's transform stream and use `CsvStringifier`, which is explained later, inside it
54+
, and pipe the stream into a file write stream.
55+
5256
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.
5357

5458
```js

0 commit comments

Comments
 (0)