{"repo":"extractus/feed-extractor","free":true,"listed":false,"github":"https://github.com/extractus/feed-extractor","clone":"git clone https://github.com/extractus/feed-extractor.git","description":"Simplest way to read & normalize RSS/ATOM/JSON feed data","language":"TypeScript","stars":189,"topics":["feed-reader","nodejs","atom-feed","jsonfeed","rss"],"license":"MIT","category":"productivity","readme_excerpt":"feed-extractor To read & normalize RSS/ATOM/JSON feed data. Installation Deno Node.js / Bun Alternatively, install from npm: Usage APIs - extract() - extractFromJson() - extractFromXml() --- extract() Load and extract feed data from given RSS/ATOM/JSON source. Syntax Example: Without any options, the result should have the following structure: Parameters url required URL of a valid feed source. Feed content must be accessible and conform to one of the following standards: - RSS Feed - RDF Feed - ATOM Feed - JSON Feed options optional Object with all or several of the following properties: - normalization : boolean, normalize feed data or keep original. Default true . - useISODateFormat : boolean, convert datetime to ISO format. Default true . - descriptionMaxLen : number, to truncate description. Default 250 characters. Set to 0 = no truncation. - xmlParserOptions : object, options passed to the XML parser. - getExtraFeedFields : function, to get more fields from feed data. - getExtraEntryFields : function, to get more fields from feed entry data. - baseUrl : URL string, to absolutify the links within feed content. For example: fetcher optional A custom fetch function with the signature (url: string) = Promise . Use this to customize HTTP behavior: proxy, headers, TLS, authentication, timeouts, etc. Defaults to globalThis.fetch . Deno (with proxy): Node.js (with proxy via undici): Bun (with proxy): Custom headers : Request timeout : --- extractFromJson() Extract feed data fro","default_branch":null,"files":null,"tree":[],"storefront":"/r/extractus","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/extractus/feed-extractor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}