A simple and easy to use RSS feed parser
npm install @ulisesgascon/rss-feed-parser
A simple and easy to use RSS feed parser
Simple and very opinionated RSS feed parser
- Simple and easy to use 🔥
- Typescript support 💪
- Using fast-xml-parser under the hood 🚀
- Easy to use and great test coverage ✅
``bash`
npm install @ulisesgascon/rss-feed-parser
Importation
`js`
const { rssParse } = require("@ulisesgascon/rss-feed-parser");
import { rssParse } from "@ulisesgascon/rss-feed-parser";
usage
`js``
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);
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Ulises Gascón - Initial work- - @ulisesGascon
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
- This project is under development, but you can help us to improve it! We :heart: FOSS!