Installation
npm install --save @types/tsv
Summary
This package contains type definitions for tsv (https://github.com/ricardobeat/TSV).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tsv.
index.d.ts
export as namespace TSV;
declare namespace TSV {
class Parser {
header: boolean;
sep: string;
constructor(sep: string, options?: { header?: boolean | undefined });
stringify(data: readonly any[]): string;
parse(tsv: string): any[];
}
function stringify(data: any[]): string;
function parse(tsv: string): any[];
const CSV: Parser;
const TSV: Parser;
const sep: string;
const header: boolean;
}
type TSV = TSV.Parser;
export = TSV;
Additional Details
- Last updated: Mon, 20 Nov 2023 2324 GMT
- Dependencies: none
Credits
These definitions were written by Zlatko Andonovski.