std/csv
Yusuke Tanaka b0f2088044
docs(csv): more examples for parse and CsvParseStream (#5605)
This commit adds more examples to `parse` function and `CsvParseStream` class to
cover all the provided options.

Also fixes a few other things:

- Replace stale description `ParseError` with the correct `SyntaxError`.
- Fix the default value of `comment` property. The old comment says the default
  value is `#`, but this was wrong.
- Get negative value in `fieldsPerRecord` option working in `parse` as
  documented

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-01 21:24:15 -07:00
..
testdata BREAKING(csv): move encoding/csv to own top-level folder and towards single-export files (#3228) 2023-03-13 14:56:25 +09:00
_io.ts docs(csv): more examples for parse and CsvParseStream (#5605) 2024-08-01 21:24:15 -07:00
_shared.ts refactor(csv): rename graphemeLength to codePointLength (#5421) 2024-07-12 15:23:13 +09:00
deno.json chore: release 2024.07.26 (#5554) 2024-07-26 19:45:22 +09:00
mod.ts docs(csv): more examples for parse and CsvParseStream (#5605) 2024-08-01 21:24:15 -07:00
parse_stream_test.ts docs(csv): more examples for parse and CsvParseStream (#5605) 2024-08-01 21:24:15 -07:00
parse_stream.ts docs(csv): more examples for parse and CsvParseStream (#5605) 2024-08-01 21:24:15 -07:00
parse_test.ts docs(csv): more examples for parse and CsvParseStream (#5605) 2024-08-01 21:24:15 -07:00
parse.ts docs(csv): more examples for parse and CsvParseStream (#5605) 2024-08-01 21:24:15 -07:00
stringify_stream_test.ts BREAKING(csv): throw TypeError in stringify() instead of StringifyError (#5347) 2024-07-10 20:32:59 +10:00
stringify_stream.ts chore(csv): remove redundant constructor examples (#5509) 2024-07-23 12:05:23 +09:00
stringify_test.ts BREAKING(csv): throw TypeError in stringify() instead of StringifyError (#5347) 2024-07-10 20:32:59 +10:00
stringify.ts BREAKING(csv): throw TypeError in stringify() instead of StringifyError (#5347) 2024-07-10 20:32:59 +10:00