@huluvu424242/liona-feeds

Modul to realize an REST endpoint to receive news feed data

Usage no npm install needed!

<script type="module">
  import huluvu424242LionaFeeds from 'https://cdn.skypack.dev/@huluvu424242/liona-feeds';
</script>

README

Github CI npm npm Donate with paypal Keybase BTC

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