# tablests

> Tiny utility for parsing CSV files.

Latest version **1.0.1** (published 2023-07-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install tablests
pnpm add tablests
yarn add tablests
bun add tablests
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2023-07-26 |
| First published | 2023-07-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Vojtěch Tomas |
| Maintainers | vojtatom |
| Keywords | tables, csv, typescript, sheets |

## Links

- npm: https://www.npmjs.com/package/tablests
- Repository: https://github.com/vojtatom/tables.ts
- Homepage: https://github.com/vojtatom/tables.ts#readme
- Issues: https://github.com/vojtatom/tables.ts/issues
- npm.io page: https://npm.io/package/tablests

## Alternatives

- [@sapphire/ratelimits](https://npm.io/package/@sapphire/ratelimits.md) — 4.4K weekly downloads
- [js-csvparser](https://npm.io/package/js-csvparser.md) — 2.0K weekly downloads
- [@adadapted/js-sdk](https://npm.io/package/@adadapted/js-sdk.md) — 251 weekly downloads
- [@grapecity/spread-sheets-sparklines](https://npm.io/package/@grapecity/spread-sheets-sparklines.md) — 103 weekly downloads
- [@1selfworld/adchain-sdk-react-native](https://npm.io/package/@1selfworld/adchain-sdk-react-native.md) — 80 weekly downloads

## Recent versions

- 1.0.1 (latest) — 2023-07-26
- 1.0.0 — 2023-07-26

## README

# tables.ts 📄

Tiny utility for parsing CSV files.

-   dead simple, just a few lines of code
-   needs the entire CSV in memory
-   no dependencies
-   written in TypeScript

```
npm i tablests
```

## Usage

```ts
import { stringify, parse } from 'tablests';

const data = [
    ['id', 'name', 'age', 'weight', 'married', 'children', 'timestamp'],
    ['1', '"Dan, John"', '30', '80.5', 'true', '2', '2021-01-01T00:00:00.000Z'],
    ['2', '"Jack"', '40', '90.5', 'false', '0', '2021-01-02T00:00:00.000Z'],
    ['3', 'Back, "Jim"', '50', '"100.5"', 'true', '3', '2021-01-03T00:00:00.000Z'],
];

const csvString = stringify(csvData);
const originalData = parse(csvString);
```

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