next-sitemap · Open Source

Generate sitemaps and robots.txt for Next.js sites.

Documentation reviewed; not hands-on tested. Published evidence does not guarantee outcomes.

Official website

Uses and conditions

Primary task
Sitemaps, robots & structured data
Runtime
Node/Next.js
Inputs and outputs
Next.js 路由及配置 → XML sitemap/robots.txt
Deployment
构建时生成/服务端动态生成
External dependencies / costs
无必需付费 API;需配置正确站点 URL 和路由来源
Paid API required
Unknown / not researched
Account required
Unknown / not researched
Supported scope
为 Next.js 站点生成 sitemap 和 robots.txt。
Strengths
适合 Next.js 开发者自动生成索引入口
Limitations
生成文件不保证搜索引擎收录;动态与排除路由需自行配置
License
MIT
License scope
repository_core; dependencies and separately licensed editions require separate review
License revision checked
144fad921e8ee30f03c73ed72208bfa7355eb75d
Additional terms
Unknown / not researched

Repository and installation documentation

Source repository · Documentation
yarn add next-sitemap;创建 next-sitemap.config.js 并加入 postbuild

Instructions are supplied for reference and have not been executed. Stars and downloads do not measure quality, security or users.

Independent observations

github_stars
3744 · exact_api_integer · 2026-10-13T15:47:58.493371+00:00

—

GitHub repository stargazers_count; observation snapshot · 仓库关注/分支指标,不证明质量、安全、实际效果或使用人数。

Observation source
github_forks
142 · exact_api_integer · 2026-10-13T15:47:58.493371+00:00

—

GitHub repository forks_count; observation snapshot · 仓库关注/分支指标,不证明质量、安全、实际效果或使用人数。

Observation source
github_archived
false · boolean · 2026-10-13T15:47:58.493371+00:00

—

GitHub repository archived; observation snapshot · 仓库关注/分支指标,不证明质量、安全、实际效果或使用人数。

Observation source
npm_downloads_30_complete_utc_days
2612254 · exact_api_integer · 2026-10-13T15:49:43.113177+00:00

2026-09-13T00:00:00Z — 2026-10-13T00:00:00Z

npm official point API: 2026-09-13 through 2026-10-12 inclusive; end bound exclusive in export · 包含 CI、自动化、重复安装;不是用户数;仅同来源同窗口比较;不累加同项目多个包。

Observation source

Domain-specific research

SEO

Generate sitemaps and robots.txt for Next.js sites.

Verified: 2026-10-13 · Snapshot: 6c2a208f-3990-4894-b483-b6d71b58ad59

Research cutoff: 2026-10-13

Sources

Related directories

Published: 2026-10-13T19:19:25.755Z · release_id: 4a188c28-bf2e-4b26-8035-6b5857bd0b9b

Methods and limitations · Editorial and corrections policy