UNPKG

@jackchuka/gql-ingest

Version:

A CLI tool for ingesting data from CSV files into a GraphQL API

10 lines 361 B
import { DataReader, DataRow } from "./data-reader"; export interface CsvRow { [key: string]: string; } export declare function readCsvFile(filePath: string): Promise<CsvRow[]>; export declare class CsvReader extends DataReader { getSupportedExtensions(): string[]; readFile(filePath: string): Promise<DataRow[]>; } //# sourceMappingURL=csv.d.ts.map