{"id":15409553,"url":"https://github.com/bradymholt/syndication-fetcher","last_synced_at":"2025-04-04T19:47:28.366Z","repository":{"id":65552697,"uuid":"594099889","full_name":"bradymholt/syndication-fetcher","owner":"bradymholt","description":"A RSS and Atom feed parser","archived":false,"fork":false,"pushed_at":"2023-02-02T16:47:53.000Z","size":120,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T16:19:07.050Z","etag":null,"topics":["atom","rss","rss-feed","rss-reader"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bradymholt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-27T15:47:14.000Z","updated_at":"2023-02-02T16:30:40.000Z","dependencies_parsed_at":"2023-02-17T22:01:19.707Z","dependency_job_id":null,"html_url":"https://github.com/bradymholt/syndication-fetcher","commit_stats":{"total_commits":24,"total_committers":1,"mean_commits":24.0,"dds":0.0,"last_synced_commit":"87174493f8bd59ac56d6011af0b8b660edf7ecf2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradymholt%2Fsyndication-fetcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradymholt%2Fsyndication-fetcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradymholt%2Fsyndication-fetcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradymholt%2Fsyndication-fetcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bradymholt","download_url":"https://codeload.github.com/bradymholt/syndication-fetcher/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247240334,"owners_count":20906801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atom","rss","rss-feed","rss-reader"],"created_at":"2024-10-01T16:40:36.361Z","updated_at":"2025-04-04T19:47:28.349Z","avatar_url":"https://github.com/bradymholt.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# syndication-fetcher [![NPM Package](https://img.shields.io/npm/v/syndication-fetcher.svg)](https://www.npmjs.com/package/syndication-fetcher)\n\nA RSS and Atom feed fetcher and parser. Given a URL, it will fetch a feed and parse it into a common JavaScript object.  TypeScript types are included.\n\n## Installation\n\n```bash\nnpm install syndication-fetcher\n```\n\n## Usage\n\n```javascript\nimport { fetchFeed } from \"syndication-fetcher\";\n// or using CommonJS\n// const { fetchFeed } = require(\"syndication-fetcher\");\n\nconst feed = await fetchFeed(\"https://example.com/feed.xml\");\n/* `feed` is an object that conforms to the IFeed interface described below */\n```\n\n## TypeScript types\n\n```typescript\ninterface IFeed {\n  title: string;\n  description: string;\n  link: string;\n  items: Array\u003cIFeedItem\u003e;\n}\n\ninterface IFeedItem {\n  id: string;\n  title: string;\n  description: string;\n  link: string;\n  pubDate: Date | null;\n  content: string; \n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradymholt%2Fsyndication-fetcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbradymholt%2Fsyndication-fetcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradymholt%2Fsyndication-fetcher/lists"}