# @types/tsv

> TypeScript definitions for tsv

Latest version **0.2.4** (published 2023-11-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/tsv
pnpm add @types/tsv
yarn add @types/tsv
bun add @types/tsv
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.2.4 |
| Published | 2023-11-21 |
| First published | 2021-03-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/tsv
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tsv
- npm.io page: https://npm.io/package/@types/tsv

## Recent versions

- 0.2.4 (latest) — 2023-11-21
- 0.2.1 (ts3.6) — 2021-07-02
- 0.2.0 (ts3.5) — 2021-03-07
- 0.2.3 — 2023-11-07
- 0.2.2 — 2023-10-18

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tsv/index.d.ts)
````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 23:36:24 GMT
 * Dependencies: none

# Credits
These definitions were written by [Zlatko Andonovski](https://github.com/Goldsmith42).

---
_Source: https://npm.io/package/@types/tsv · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
