Socket
Socket
Sign inDemoInstall

@web2feed/web2feed

Package Overview
Dependencies
143
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @web2feed/web2feed

Library to merge any sources to own feed


Version published
Weekly downloads
3
Maintainers
1
Install size
9.17 MB
Created
Weekly downloads
 

Readme

Source

web2feed

Library to merge any sources to own feed.

Installation

npm i @web2feed/web2feed

Usage

Typescript

import CustomSourceProvider from '@web2feed/web2feed/src/source/CustomSourceProvider';
import SourceProviderInterface from '@web2feed/web2feed/src/source/SourceProviderInterface';
import InMemoryStorageProvider from '@web2feed/web2feed/src/storage/InMemoryStorageProvider';
import Web2Feed from '@web2feed/web2feed/src/Web2Feed';

const storage = new InMemoryStorageProvider('test');
const sources = new Map<string, SourceProviderInterface>();

sources.set('custom', new CustomSourceProvider());

const web2feed = new Web2Feed(storage, sources);

FAQs

Last updated on 31 Jul 2018

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