Skip to content
JS
Comparison

next-sitemap vs next-safe-action

next-sitemapv4.2.3, 6 Sept 2023

Sitemap generator for next.js

$ npm install next-sitemap
next-safe-actionv8.7.3, 7 Sept 2026

Type safe and validated Server Actions in your Next.js project.

$ npm install next-safe-action
Metricnext-sitemapnext-safe-actionDifference
Weekly downloads461,134246,082next-sitemap 1.9x higher
12-month download growth+28%+202%next-safe-action +174 pts
Gzip size---
Minified size---
Dependencies40next-sitemap 4 more
Unpacked size332 kB303 kBnext-safe-action 9% smaller
Latest release4.2.3, 6 Sept 20238.7.3, 7 Sept 2026next-safe-action 3.0 years more recent
Releases, last 12 months0--
First published2 Aug 2020--
GitHub stars3,7443,071next-sitemap +22%
Open issues25next-safe-action 3 more
Open pull requests61next-sitemap 5 more
Contributors---
Commits, last 52 weeks1208next-safe-action 208.0x higher
TypeScript typesBundledBundledSame
Module formatESM + CommonJSESM + CommonJSSame
Runtimes---
LicenseMITMITSame

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

next-sitemap461.1k latest weeknext-safe-action246.1k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

next-sitemap

Major versions
  1. 1.0.22 Aug 2020
  2. 2.0.224 Jan 2022
  3. 3.0.12 Jun 2022
  4. 4.0.12 Mar 2023
Last 5 releases
  1. 4.2.36 Sept 2023
  2. 4.2.29 Aug 2023
  3. 4.2.19 Aug 2023
  4. 4.1.81 Jul 2023
  5. 4.1.71 Jul 2023
248 releases in total, 0 in the last 12 months

next-safe-action

Major versions
  1. -
Last 5 releases
  1. -
Release count not fetched
next-sitemap

-

next-safe-action

-

next-sitemap

-

next-safe-action

-

  • Need no runtime dependenciesnext-safe-action (next-sitemap has 4, next-safe-action has 0)
  • Module formatBoth ESM + CommonJS
  • Need TypeScript types in the package itselfBoth
  • Node.js version requirementnext-sitemap: >=14.18; next-safe-action: >=18.17 (engines field in package.json)
  • Need the more recent releasenext-safe-action (8.7.3 on 7 Sept 2026 vs 4.2.3 on 6 Sept 2023)
  • Higher weekly npm downloadsnext-sitemap (461.1k vs 246.1k)

Each line is generated from the data above.

Indexability: Indexed.