Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 716 Bytes

readme.md

File metadata and controls

26 lines (16 loc) · 716 Bytes

@tneu/news CircleCI

TNEU News Parser

Install

$ yarn add @tneu/news

Usage

const {parsePage, getTotalPages} = require('@tneu/news');

const totalPages = await getTotalPages(); // 508
const page = await parsePage(1); // returns {items, pageNumber, totalPages, hasPrevious, hasNext}

And the object in items array looks like:

License

MIT © Vlad Holubiev