Nanobots Producing Megastructures
    Wondering what’s next for npm?Check out our public roadmap! »

    rss-converter
    TypeScript icon, indicating that this package has built-in type declarations

    1.1.6 • Public • Published

    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

    Install

    npm i rss-converter

    DownloadsWeekly Downloads

    199

    Version

    1.1.6

    License

    MIT

    Unpacked Size

    25.6 kB

    Total Files

    8

    Last publish

    Collaborators

    • avatar