File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
4646Promise .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+
5256If 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
You can’t perform that action at this time.
0 commit comments