WebCola
Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

csvFormat

  • csvFormat(rows: DSVRowAny[], columns?: string[]): string
  • Parameters

    • rows: DSVRowAny[]
    • Optional columns: string[]

    Returns string

csvFormatRows

  • csvFormatRows(rows: string[]): string
  • Parameters

    • rows: string[]

    Returns string

csvParse

  • Parameters

    • csvString: string

    Returns DSVParsedArray<DSVRowString>

  • Type parameters

    Parameters

    • csvString: string
    • row: function
        • (rawRow: DSVRowString, index: number, columns: string[]): ParsedRow
        • Parameters

          Returns ParsedRow

    Returns DSVParsedArray<ParsedRow>

csvParseRows

  • csvParseRows(csvString: string): string[]
  • csvParseRows<ParsedRow>(csvString: string, row: function): ParsedRow[]
  • Parameters

    • csvString: string

    Returns string[]

  • Type parameters

    Parameters

    • csvString: string
    • row: function
        • (rawRow: string[], index: number): ParsedRow
        • Parameters

          • rawRow: string[]
          • index: number

          Returns ParsedRow

    Returns ParsedRow[]

dsvFormat

  • dsvFormat(delimiter: string): DSV
  • Parameters

    • delimiter: string

    Returns DSV

tsvFormat

  • tsvFormat(rows: DSVRowAny[], columns?: string[]): string
  • Parameters

    • rows: DSVRowAny[]
    • Optional columns: string[]

    Returns string

tsvFormatRows

  • tsvFormatRows(rows: string[]): string
  • Parameters

    • rows: string[]

    Returns string

tsvParse

  • Parameters

    • tsvString: string

    Returns DSVParsedArray<DSVRowString>

  • Type parameters

    Parameters

    • tsvString: string
    • row: function
        • (rawRow: DSVRowString, index: number, columns: string[]): MappedRow
        • Parameters

          Returns MappedRow

    Returns DSVParsedArray<MappedRow>

tsvParseRows

  • tsvParseRows(tsvString: string): string[]
  • tsvParseRows<MappedRow>(tsvString: string, row: function): MappedRow[]
  • Parameters

    • tsvString: string

    Returns string[]

  • Type parameters

    Parameters

    • tsvString: string
    • row: function
        • (rawRow: string[], index: number): MappedRow
        • Parameters

          • rawRow: string[]
          • index: number

          Returns MappedRow

    Returns MappedRow[]

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc