npm.io
0.4.1 • Published 5 years agoCLI

next-sitemap-gen

Licence
MIT
Version
0.4.1
Deps
0
Size
3 kB
Vulns
0
Weekly
0

Sitemap generation for Next.js projects

Experimental

Installation

$ npm i next-sitemap-gen -D

Usage

You can use it as npm script

scripts: {
    sitemap: 'next-sm-gen http://domain.com/'
}

and then in your terminal
$ npm run sitemap

The file will be located on your project's public folder.