From 002e9b7bb8dcb6dfffa21f49f8e91b85f19ed0cd Mon Sep 17 00:00:00 2001 From: Sami Turcotte Date: Fri, 7 Dec 2018 22:33:42 -0500 Subject: [PATCH] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c73440b..402031b 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,8 @@ Return a `ReadWrite` stream that splits streamed chunks using the given separato | Param | Type | Description | | --- | --- | --- | | `separator` | `string` | Separator to split by, defaulting to `"\n"` | +| `options` | `object` | | +| `options.encoding` | `string` | Character encoding to use for decoding chunks. Defaults to utf8 ```js Mhysa.fromArray(["a,b", "c,d"]) @@ -120,6 +122,8 @@ Return a `ReadWrite` stream that joins streamed chunks using the given separator | Param | Type | Description | | --- | --- | --- | | `separator` | `string` | Separator to join with | +| `options` | `object` | | +| `options.encoding` | `string` | Character encoding to use for decoding chunks. Defaults to utf8 ```js Mhysa.fromArray(["a", "b", "c"]) @@ -135,8 +139,10 @@ the streamed chunks with the specified replacement string | Param | Type | Description | | --- | --- | --- | -| `searchValue` | `string | RegExp` | Search string to use | +| `searchValue` | `string \| RegExp` | Search string to use | | `replaceValue` | `string` | Replacement string to use | +| `options` | `object` | | +| `options.encoding` | `string` | Character encoding to use for decoding chunks. Defaults to utf8 ```js Mhysa.fromArray(["a1", "b22", "c333"])