UNPKG

@fast-csv/parse

Version:
16 lines (15 loc) 447 B
import { ParserOptions } from '../ParserOptions'; export interface ParseResult { line: string; rows: string[][]; } export declare class Parser { private static removeBOM; private readonly parserOptions; private readonly rowParser; constructor(parserOptions: ParserOptions); parse(line: string, hasMoreData: boolean): ParseResult; private parseWithoutComments; private parseWithComments; private parseRow; }