UNPKG

csv-split-easy

Version:

Splits the CSV string into array of arrays, each representing a row of columns

12 lines (10 loc) 333 B
declare const version: string; interface Opts { removeThousandSeparatorsFromNumbers: boolean; padSingleDecimalPlaceNumbers: boolean; forceUKStyle: boolean; } declare const defaults: Opts; declare function splitEasy(str: string, opts?: Partial<Opts>): string[][]; export { defaults, splitEasy, version }; export type { Opts };