1.0.1 • Published 5 months ago

@ulisesgascon/rss-feed-parser v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

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 :heart: FOSS!
1.0.1

5 months ago

1.0.0

5 months ago