# ekalinin/sitemap.js

Sitemap-generating framework for node.js

Repository: https://github.com/ekalinin/sitemap.js
Canonical: https://ross.abutalabs.com/products/sitemapjs
Language: TypeScript
License: MIT
License Family: permissive
Topics: sitemap, sitemap-xml, nodejs, sitemap-generator
Last push: 2026-08-18T06:23:51+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 72, longevity 100
- inputs: {"age_days": 5544, "days_push": 15, "days_rel": 186, "gap_med": 3, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1712, forks 155 (observed 2026-08-28T04:05:25.879828+00:00)

## What it is
sitemap.js is a Node.js library and CLI for generating, parsing, validating, and updating sitemap XML files. It uses streaming to efficiently build sitemaps and sitemap indexes from large lists of URLs, and can serve them from servers like Express.

## Use cases
- generate a sitemap.xml from a list of urls
- create sitemap index files for sites with more than 50k urls
- serve a dynamically updated sitemap from an express server
- validate and parse existing sitemap xml files
- generate gzipped sitemaps for large websites
- build sitemaps programmatically in a node.js build pipeline

## When to choose
- you need to generate standards-compliant sitemap XML in a Node.js application
- you have a large number of URLs and need streaming generation or sitemap indexes
- you want both a programmatic API and a CLI for one-off sitemap tasks
- you need to parse, validate, or update existing sitemaps

## When to avoid
- your site is not built with Node.js or JavaScript tooling
- you need a framework-agnostic static site generator that produces sitemaps automatically
- you need multi-language sitemap generation beyond what the library supports out of the box

## Facets
- artifact type: library
- maturity: stable
- function: web-framework, cli, serialization, developer-tools
- domain: web-development, developer-tools, apis
- platform: cli, cross-platform
- tags: sitemap, sitemap-xml, seo, streaming, esm-only, typescript, nodejs

## Member repositories
- ekalinin/sitemap.js (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:25.879828+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:34:52.438547+00:00, confidence not recorded.
  - readme: https://github.com/ekalinin/sitemap.js (fetched 2026-08-28T04:05:25.879828+00:00, sha 5a8fd3cc0045)
- Data as of 2026-08-30T08:39:29.467469+00:00.
