0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-01 20:25:12 -05:00

docs(std): Fix typo (#5582)

This commit is contained in:
pontakornth 2020-05-18 17:10:19 +07:00 committed by GitHub
parent 2d5abbe909
commit ce81064e4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
})
);