imdb-dataset
v1.0.0
Published
Parse data coming from https://www.imdb.com/interfaces/
Downloads
9
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.
Usage:
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);