Socket
Socket
Sign inDemoInstall

rss-converter

Package Overview
Dependencies
10
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rss-converter

This is a converter for rss to json.


Version published
Weekly downloads
15K
increased by10.94%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 08 Aug 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc