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

@akolosovich/rss-parser

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@akolosovich/rss-parser

Lightweight and fast rss-parser with minimal dependencies.

  • 0.1.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-87.5%
Maintainers
1
Weekly downloads
 
Created
Source

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);
  • Output Example
  • Types

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

Keywords

FAQs

Package last updated on 27 Jan 2021

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