@akolosovich/rss-parser
    TypeScript icon, indicating that this package has built-in type declarations

    0.1.3 • Public • Published

    RSS Parser

    Lightweight and fast rss-parser with minimal dependencies.

    Usage

    const { rssParser } = require('@akolosovich/rss-parser');
    
    // import { rssParser } from '@akolosovich/rss-parser';
    
    const data = rssParser.parseString(...);
    
    console.log(data);

    Motivation

    Why to write my own parser instead of using existing one?

    Firstly, I didn't find any parsers which return the same data format no matter which RSS feed I submit.

    Secondly, since no one is following proper specification in their RSS feeds, I wanted to be able to parse any "incorrect" feeds (eg, Enclosure according to spec is only one per item, however many feeds add more than one).

    Thirdly, I wanted to create private RSS server as a replacement for public one (eg feedly), and for this purpose I wanted to have better understanding of RSS data structure.

    TODO

    • fix dates
    • parse and filter languages
    • use proper tests

    Specs and Namespaces

    Links

    Install

    npm i @akolosovich/rss-parser

    DownloadsWeekly Downloads

    5

    Version

    0.1.3

    License

    MIT

    Unpacked Size

    226 kB

    Total Files

    42

    Last publish

    Collaborators

    • akolosovich