← All packages

@lacspace/rss

v1.4.1SEO Kit0 deps

Generate RSS 2.0, Atom 1.0 and JSON Feed 1.1 from one item set — with podcast (iTunes) tags, enclosures, media, rich channel metadata and a one-call feeds() builder. Zero-dependency, isomorphic.

npm i @lacspace/rss

Usage

rss.ts
import { rss, atom, jsonFeed } from "@lacspace/rss";

const feed = {
  title: "Lacspace Blog",
  link: "https://lacspace.com/blog",
  description: "Product updates and engineering notes.",
  feedUrl: "https://lacspace.com/rss.xml",
  language: "en",
};

const items = [
  {
    title: "Launching the SEO Kit",
    link: "https://lacspace.com/blog/seo-kit",
    content: "<p>Six new packages…</p>",
    author: "Lumi AI",
    date: new Date("2026-08-22"),
    categories: ["release"],
  },
];

rss(feed, items);       // RSS 2.0 XML string
atom(feed, items);      // Atom 1.0 XML string
jsonFeed(feed, items);  // JSON Feed 1.1 object

Exports 9

atomatomResponsefeedForSitejsonFeedjsonFeedResponsepodcastRsspodcastRssResponserssrssResponse

Keywords

rssatomjson-feedfeedfeed-generatorsyndication

More in SEO Kit

@lacspace/llms-txt

Generate, parse, and validate llms.txt / llms-full.txt (the llmstxt.org standard) — build both from your sitemap, routes, or a page list, with ## Optional blocks. A Markdown map of your site for LLMs. Zero-dependency, isomorphic.

@lacspace/og

Dynamic Open Graph images — a share-card design system you configure once and call per page. Produces a next/og element tree AND a zero-dependency SVG from the same options, with 7 templates (article, product, quote, event, split, minimal), named gradient & surface presets, image/avatar embedding and auto-fitting multi-line titles. Zero-dependency, isomorphic.

@lacspace/robots

Build and parse robots.txt — typed per-user-agent rules, crawl-delay & clean-param, sitemap refs, a parser + longest-match isAllowed(), and one-liners to block/allow AI crawlers per-agent from a 21-bot catalog (GPTBot, ClaudeBot, CCBot, Google-Extended, PerplexityBot…). Next.js robots.ts output. Zero-dependency, isomorphic.

@lacspace/seo

Typed metadata + JSON-LD for modern web apps — schema.org builders (Organization, Article, Product, FAQ, Breadcrumb, Event, Dataset, Book, Podcast), robots directives, richer Open Graph & Twitter cards, canonical + hreflang alternates, a Next.js App Router Metadata helper, the defineSite() SEO Autopilot engine, and an on-page SEO auditor with a CI sitemap crawler (`npx @lacspace/seo audit <url>` / `crawl <site> --min-grade A`). Zero-dependency, isomorphic.

@lacspace/site-verify

Search-engine site verification — meta tags, DNS TXT records, upload files, Next.js verification metadata, batch emit, and tag parsing for Google Search Console, Bing, Yandex, Baidu, Pinterest, Ahrefs, Facebook & more. Zero-dependency, isomorphic.

@lacspace/sitemap

Generate sitemap.xml, sitemap indexes and Next.js sitemaps — image/video/news extensions, hreflang alternates, auto-split at 50k URLs, plus priority/changefreq/lastmod validators and a URL-count guard. Zero-dependency, isomorphic.