# imdb-dataset

> Parse data coming from https://www.imdb.com/interfaces/

Latest version **1.0.0** (published 2020-03-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install imdb-dataset
pnpm add imdb-dataset
yarn add imdb-dataset
bun add imdb-dataset
```

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-03-21 |
| First published | 2020-03-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 41.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | andreivinaga |
| Maintainers | panserbjorn |
| Keywords | imdb, tsv, parser, movie |

## Links

- npm: https://www.npmjs.com/package/imdb-dataset
- Repository: https://github.com/andreivinaga/imdb-dataset
- Homepage: https://github.com/andreivinaga/imdb-dataset#readme
- Issues: https://github.com/andreivinaga/imdb-dataset/issues
- npm.io page: https://npm.io/package/imdb-dataset

## Dependencies (4)

- [typescript](https://npm.io/package/typescript.md) 3.8.3
- [enum-values](https://npm.io/package/enum-values.md) 1.2.1
- [event-stream](https://npm.io/package/event-stream.md) 4.0.1
- [@types/event-stream](https://npm.io/package/@types/event-stream.md) 3.3.34

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-03-21
- 0.0.5-RC — 2020-03-21
- 0.0.4-RC — 2020-03-21
- 0.0.3-RC — 2020-03-21
- 0.0.2-RC — 2020-03-21
- 0.0.1-RC — 2020-03-21

## README

# imdb-dataset
Parse data coming from https://www.imdb.com/interfaces/

This library works only with .tsv files, it will read the file line by line and return a mapped object.

[List with types of objects](src/types.ts)

[List with parsers](src/columns.ts)

[List with parsers](test/test.spec.ts)

Usage:
```javascript
import {
  ITitleRating,
  mappedTitleBasic,
  TSVParser,
} from 'imdb-dataset';

const parser = new TSVParser<ITitleRating>({
  filePath: '<absolute-file-path>.tsv',
  columns: mappedTitleBasic,
});

async function test() {
  for await (const rating of parser) {
    console.log(rating);
  }
}

test().catch(console.log);
```

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