tneu-news-parser
1.0.7 • Public • Published TNEU News Parser
Parse news articles at tneu.edu.ua

Install
Ensure you have Node.js version 4 or higher installed. Then run the following:
$ yarn add tneu-news-parser
Usage
const got = require('got');
const NewsParser = require('tneu-news-parser');
got('http://www.tneu.edu.ua/news/page/1')
.then(response => {
return NewsParser.parseArticleSnippets(response.body);
})
.then(articleSnippets => {
});
got('http://www.tneu.edu.ua/news/9671-naukovo-praktychne-zabezpechennia.html')
.then(response => {
return NewsParser.parseArticle(response.body);
})
.then(article => {
});
Development
npm t
npm run coverage
npm run lint
Readme
Keywords
nonePackage Sidebar
Install
Weekly Downloads