UNPKG

@dpkit/table

Version:

Data Package implementation in TypeScript.

10 lines (9 loc) 331 B
import type { Schema } from "@dpkit/core"; import type { Table } from "../table/index.ts"; export type InferSchemaOptions = { sampleRows?: number; confidence?: number; commaDecimal?: boolean; monthFirst?: boolean; }; export declare function inferSchema(table: Table, options?: InferSchemaOptions): Promise<Schema>;