sitemap.xml
express middleware for file sitemap.xml
Last updated 5 years ago by andreev.vladimir .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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 (5 years ago)

1 Versions

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

Copyright 2014 - 2017 © taobao.org |