deno-docs
deno-docs copied to clipboard
std/csv parse options do not include strip: bool
https://github.com/denoland/docs/blob/de54e07e2f7c8f91e2112286e3dda5abf6f48027/examples/parsing-serializing-csv.ts#L24
import { parse, ParseOptions } from jsr:@std/csv
ParseOptions has no "strip"
I could go and add trimEnd onto #options.trimTrailingSpace and redocument strip into that. https://github.com/denoland/std/blob/69858cfd7b917ac4cd67a9c0557a2c6d223e2d7f/csv/parse.ts#L94-L96
Probably wouldn't bother with strip as a shorthand to leading/trailing.
What's the preferred interface?