1.1.6 • Published 5 years ago

rss-converter v1.1.6

Weekly downloads
190
License
MIT
Repository
github
Last release
5 years ago

RSS CONVERTER

This is a converter for rss to json.

NPM Version

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.link
link: 'http://~'

> keyname will be changed to snake case.
':' -> '_'

License

MIT

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago