summaryrefslogtreecommitdiff
path: root/std/encoding
diff options
context:
space:
mode:
authorpontakornth <37771900+pontakornth@users.noreply.github.com>2020-05-18 17:10:19 +0700
committerGitHub <noreply@github.com>2020-05-18 12:10:19 +0200
commitce81064e4c78a5d6213aa19351281c6b86e3e1cb (patch)
tree577bbe0e41e0f315ec631880da82fed214b17b5e /std/encoding
parent2d5abbe909071571def869bfc968f33cd62dbe83 (diff)
docs(std): Fix typo (#5582)
Diffstat (limited to 'std/encoding')
-rw-r--r--std/encoding/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/encoding/README.md b/std/encoding/README.md
index 973713360..c830133ba 100644
--- a/std/encoding/README.md
+++ b/std/encoding/README.md
@@ -29,7 +29,7 @@ writeVarbig(w: Deno.Writer, x: bigint, o: VarbigOptions = {}): Promise<number>
## CSV
-- **`parseCsv(input: string | BufReader, opt: ParseCsvOptions): Promise<unknown[]>`**:
+- **`parse(input: string | BufReader, opt: ParseCsvOptions): Promise<unknown[]>`**:
Read the string/buffer into an
### Usage
@@ -38,7 +38,7 @@ writeVarbig(w: Deno.Writer, x: bigint, o: VarbigOptions = {}): Promise<number>
const string = "a,b,c\nd,e,f";
console.log(
- await parseCsv(string, {
+ await parse(string, {
header: false,
})
);