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

1.1.11 • Public • Published

Podcast Suite

Podcast Suite is JS Library focused on handling Podcast RSS Sources. NPM PodcastSuite

Features:

  • Fetch RSS Content
  • Proxy Request
  • Parse XML-RSS Content
  • Return a JS Object
  • Async Events
  • Caching Engine powered by indexDB
  • Freshness status
  • Offline Media
import PS from 'podcastsuite';
const proxy = {
		'https:': 'https://cors.cleaner.com/',
		'http:': 'http://cors.cleaner.com'
	};

const fresh = 1000000;
const npr = "https://www.npr.org/rss/podcast.php?id=510318";
const lore = "https://feeds.megaphone.fm/lore";
const feedburner = "http://feeds.feedburner.com/SlatesTrumpcast";
const podcasts = [npr, lore, feedburner];

const Library = new PS({proxy, podcasts, fresh }); //
const podcast = Library.getPodcast(npr);


/*
IPodcast {
    title?: string;
    description?: string;
    url: string;
    link?: string;
    image?: string;
    items?: any[];
    created: number;
    length?: number;
}
*/

https://github.com/gpodder/podcast-feed-best-practice/blob/master/podcast-feed-best-practice.md

Readme

Keywords

Package Sidebar

Install

npm i podcastsuite

Weekly Downloads

2

Version

1.1.11

License

MIT

Unpacked Size

263 kB

Total Files

20

Last publish

Collaborators

  • navio