npm

Need private packages and team management tools?Check out npm Orgs. »

sitemap.xml

1.0.0 • Public • Published

sitemap.xml

It's express middleware. Just pass path to file sitemap.xml and this module will return him.

Usage

  • Installation:
    npm i --save sitemap.xml

  • Require:
    var sitemap = require('sitemap.xml');

  • And finally:
    app.use(sitemap(__dirname + '/sitemap.xml'));

Options

The module takes one parameter - a path to file sitemap:

  • path (string): Default: none

install

npm i sitemap.xml

Downloadsweekly downloads

12

version

1.0.0

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability