@ulisesgascon/rss-feed-parser
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@ulisesgascon/rss-feed-parser

A simple and easy to use RSS feed parser

npm version license downloads Known Vulnerabilities

About

Simple and very opinionated RSS feed parser

❤️ Awesome Features:

  • Simple and easy to use 🔥
  • Typescript support 💪
  • Using fast-xml-parser under the hood 🚀
  • Easy to use and great test coverage ✅

Installation

npm install @ulisesgascon/rss-feed-parser

Usage

Simple example

Importation

const { rssParse } = require("@ulisesgascon/rss-feed-parser");
import { rssParse } from "@ulisesgascon/rss-feed-parser";

usage

const rssFeed = rssParse(fileContent);
console.log(rssFeed.metadata); // Feed metadata
console.log(rssFeed.metadata.channel.title);
console.log(rssFeed.metadata.image.url);
console.log(rssFeed.items[0]);
console.log(rssFeed.items[0].title);
console.log(rssFeed.items[0].link);

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • This project is under development, but you can help us to improve it! We ❤️ FOSS!

Readme

Keywords

Package Sidebar

Install

npm i @ulisesgascon/rss-feed-parser

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

11.7 kB

Total Files

18

Last publish

Collaborators

  • ulisesgascon