Genotype API Documentation - v0.1.0
    Preparing search index...

    Class DSVWriter

    DSVWriter - Core CSV/TSV writer implementation

    Features:

    • RFC 4180 compliant CSV formatting
    • Automatic field quoting when needed
    • Excel protection for genomic data
    • Configurable delimiters and quote characters
    • Header row support
    • Statistics computation (optional)

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    • Format a row of fields

      Parameters

      • fields: (string | number | boolean | null | undefined)[]

      Returns string

    • Write records to a file with optional compression

      Parameters

      • path: string

        File path to write to

      • records: DSVRecord[]

        Records to write

      Returns Promise<void>