1.1.6 • Published 6 years ago

rss-converter v1.1.6

Weekly downloads
190
License
MIT
Repository
github
Last release
6 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

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago