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

    Class TSVWriter

    TSVWriter - Convenience class for TSV files Sets delimiter to tab by default

    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

      Compression is auto-detected from file extension (.gz, .zst) * or can be specified via constructor options.

      Parameters

      • path: string

        File path to write to

      • records: DSVRecord[]

        Records to write

      Returns Promise<void>