Skip to content

Commit

Permalink
Updated README and Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
ryu1kn committed Nov 9, 2016
1 parent 6f19904 commit 7157aef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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
Expand Down

0 comments on commit 7157aef

Please sign in to comment.