0.2.4 • Published 6 months ago
@types/tsv v0.2.4
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
// Type definitions for tsv 0.2
// Project: https://github.com/ricardobeat/TSV
// Definitions by: Zlatko Andonovski <https://github.com/Goldsmith42>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export as namespace TSV;
declare namespace TSV {
class Parser {
header: boolean;
sep: string;
constructor(sep: string, options?: { header?: boolean | undefined });
stringify(data: ReadonlyArray<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: Fri, 02 Jul 2021 19:37:20 GMT
- Dependencies: none
- Global values:
TSV
Credits
These definitions were written by Zlatko Andonovski.