Define your feed and items once, emit valid RSS 2.0, Atom 1.0 or JSON Feed 1.1 — with CDATA content, categories, authors and podcast enclosures. Great for blogs, changelogs and news.
Install
$ npm install @lacspace/rss
Quick example
@lacspace/rssts
rss(feed, items)
Returns <?xml … rss>
Tips
Zero-dependency and isomorphic — safe to import on the server, in the browser, on the edge and in React Native. It tree-shakes, so you only ship what you import.
Looking for the complete API and more examples? The npm page and GitHub README carry the full reference — or grab the PDF.