Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rss-converter

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rss-converter

This is a converter for rss to json.

  • 1.1.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13K
decreased by-22.03%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 08 Aug 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc