Socket
Socket
Sign inDemoInstall

rss-client

Package Overview
Dependencies
5
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rss-client

## **WIP**


Version published
Weekly downloads
7
increased by250%
Maintainers
1
Install size
17.0 kB
Created
Weekly downloads
 

Readme

Source

rss-client

WIP

Installation

npm install --save rss-parser rss-client

Usage

// TypeScript
import { RssClient } from "rss-client";

const client = new RssClient("https://www.reddit.com/.rss");

const { items } = await client.fetch({
  ignoreFirstTimeFetchResult: true,
});
console.log(items); // Empty array.

const { items: newItems } = await client.fetch();
console.log(newItems); // Items those are posted after last fetch.

Keywords

FAQs

Last updated on 25 Mar 2021

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