sightmap

0.0.1 • Public • Published

sightmap

Generate and cache sitemaps

build status

example

var sightmap = require('sightmap');
 
sightmap(['http://sightmap.example.com/1', 'http://sightmap.example.com/2']);
 
sightmap(function(xml) {
  console.log(xml);
});

define urls as strings or objects

sightmap([
  'http://sightmap.example.com/1',
  'http://sightmap.example.com/2'
]);

sightmap([
  {loc: 'http://sightmap.example.com/1', priority: 0.6},
  {loc: 'http://sightmap.example.com/2', priority: 0.4}
]);

install

With npm do:

npm install sightmap

license

MIT

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i sightmap

    Weekly Downloads

    12

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • timhudson