@saintbull/rss-parsify
v0.2.0
Published
Parser for rss feeds using allorigins.win api
Downloads
8
Maintainers
Readme
rss-parsify
Installation
Using npm:
$ npm install @saintbull/rss-parsify
How to use
import RssParsify from '@saintbull/rss-parsify'
const result = await RssParsify.parseToJSON('url')
const contentParsed = RssParsify.parseHTML(result[0].content)
console.log(contentParsed)
or
import RssParsify from '@saintbull/rss-parsify';
RssParsify.parseToJSON(url).then(result => {
console.log(RssParsify.parseHTML(result[0].content))
});