Options
All
  • Public
  • Public/Protected
  • All
Menu

table-parser-base — Reference

Index

Type aliases

ListItem

ListItem<Key, Value>: {}

Type parameters

  • Key: string

  • Value

Type declaration

MaybeAsyncIterable

MaybeAsyncIterable<X>: Iterable<X> | AsyncIterable<X>

Type parameters

  • X

Variables

Const UNKNOWN_COLUMNS

UNKNOWN_COLUMNS: UnknownColumns = new UnknownColumns()

Functions

createArrayTable

  • createArrayTable<Title, Value>(objectTable: ObjectTable<Title, Value>): Promise<ArrayTable<Title, Value>>

createObjectTable

createObjectTableSync

getArrayList

  • getArrayList<Title, Value>(table: ObjectTable<Title, Value>): Promise<{ headers: Title[]; rows: Value[][] }>

getObjectList

  • getObjectList<Title, Value>(table: ArrayTable<Title, Value>): AsyncGenerator<ListItem<Title, Value>, void, unknown>

getObjectListSync

  • getObjectListSync<Title, Value>(table: ArrayTableSync<Title, Value>): Generator<ListItem<Title, Value>, void, unknown>

Const unknownColumn

  • unknownColumn(index: number): any

Generated using TypeDoc