sitemap.xml
express middleware for file sitemap.xml
Last updated 9 years ago by andreev.vladimir .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install sitemap.xml 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (9 years ago)

1 Versions

  • 1.0.0                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |