@yomed/sitemap

2.0.0 • Public • Published

sitemap

Note: intended to run once per server load, so it's sync

npm i @yomed/sitemap -S

Usage

var sitemap = require('sitemap');

sitemap.create([
  {
    loc: 'http://example.com/'
  },
  {
    loc: 'http://example.com/',
    priority: '1.0'
  }
], 'absolute/path/sitemap.xml'); // defaults to dist/root/sitemap.xml

Readme

Keywords

none

Package Sidebar

Install

npm i @yomed/sitemap

Weekly Downloads

2

Version

2.0.0

License

MIT

Unpacked Size

3.26 kB

Total Files

4

Last publish

Collaborators

  • yomed