RSS CONVERTER
This is a converter for rss to json.
Install
npm i -S rss-converter
Usage
You can parse RSS from a URL (rssConverter.toJson).
NodeJS Here's an example in NodeJS using Promises with async/await:
const rssConverter = require('rss-converter');
(async () => {
let feed = await rssConverter.toJson('https://note.mu/recommend/rss');
console.log(feed.title);
})();
Here's response format:
{ title, ..., items: [ { ..., }, ... ]} > atom entry.linklink: 'http://~' > keyname will be changed to snake case.':' -> '_'