@huluvu424242/liona-feeds
v2.3.5
Published
Modul to realize an REST endpoint to receive news feed data
Downloads
20
Readme
liona-feeds
A Node.js module that provided an REST endpoint to receive news feeds.
Installation
npm install @huluvu424242/liona-feeds --save
yarn add @huluvu424242/liona-feeds
bower install @huluvu424242/liona-feeds --save
Usage
Javascript
var feeds = require('@huluvu424242/liona-feeds');
var feedContentJSON = feeds.getFeedData('https://www.tagesschau.de/xml/atom/');
Output should be an response
TypeScript
import { getFeedData } from '@huluvu424242/liona-feeds';
console.log(getFeedData('https://www.zdf.de/rss/zdf/nachrichten'))
Output should be an response
AMD
define(function(require,exports,module){
var feedsReader = require('@huluvu424242/liona-feeds');
});
Test
npm run test
Demo
npm run start
or
node demo/server.js