{"_id":"sitemap-static","_rev":"324207","name":"sitemap-static","description":"generate a sitemap for a static website","dist-tags":{"latest":"0.4.4"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"time":{"modified":"2021-08-04T03:29:46.000Z","created":"2014-04-04T19:40:32.533Z","0.4.3":"2018-08-23T18:00:54.439Z","0.4.2":"2017-04-16T20:12:40.258Z","0.4.1":"2017-04-16T20:08:47.293Z","0.4.0":"2016-12-05T19:50:21.091Z","0.3.2":"2016-12-05T01:54:57.125Z","0.4.4":"2018-08-23T18:18:40.275Z","0.3.1":"2016-03-13T16:36:54.118Z","0.3.0":"2015-08-07T14:41:07.221Z","0.2.0":"2015-05-31T18:26:41.569Z","0.1.0":"2014-08-10T15:08:10.564Z","0.0.0":"2014-04-04T19:40:32.533Z"},"users":{"rjg2":true},"author":{"name":"Tom MacWright"},"repository":{"type":"git","url":"git+ssh://git@github.com/tmcw/sitemap-static.git"},"versions":{"0.4.3":{"name":"sitemap-static","version":"0.4.3","description":"generate a sitemap for a static website","main":"index.js","scripts":{"test":"tap --coverage test.js","release":"standard-version"},"bin":{"sitemap-static":"bin/index.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/tmcw/sitemap-static.git"},"keywords":["sitemap","static","generate"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/tmcw/sitemap-static/issues"},"homepage":"https://github.com/tmcw/sitemap-static","dependencies":{"findit":"~2.0.0","minimist":"1.2.0"},"devDependencies":{"concat-stream":"^1.5.0","prettier":"^1.14.2","standard-version":"^4.0.0","tap":"^12.0.0"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"gitHead":"6153b42637272178394d0eea2e47a20bec88270c","_id":"sitemap-static@0.4.3","_npmVersion":"6.4.0","_nodeVersion":"10.8.0","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"dist":{"shasum":"5965dd470798bea80d0ba7b3116babe5873c071d","size":31436,"noattachment":false,"key":"/sitemap-static/-/sitemap-static-0.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/sitemap-static/download/sitemap-static-0.4.3.tgz"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sitemap-static_0.4.3_1535047254330_0.3794318512314303"},"_hasShrinkwrap":false,"publish_time":1535047254439,"_cnpm_publish_time":1535047254439},"0.4.2":{"name":"sitemap-static","version":"0.4.2","description":"generate a sitemap for a static website","main":"index.js","scripts":{"test":"tap --coverage test.js","release":"standard-version"},"bin":{"sitemap-static":"bin/index.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/tmcw/sitemap-static.git"},"keywords":["sitemap","static","generate"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/tmcw/sitemap-static/issues"},"homepage":"https://github.com/tmcw/sitemap-static","dependencies":{"findit":"~2.0.0","minimist":"1.2.0"},"devDependencies":{"concat-stream":"^1.5.0","standard-version":"^4.0.0","tap":"^10.3.2"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"gitHead":"3ec6b30e4df45f6c822caa3c0e29b6794571a4a7","_id":"sitemap-static@0.4.2","_shasum":"f7acc86f79f84236fc0e152dec8f6d385fee1e13","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"tmcw","email":"tom+npm@macwright.org"},"dist":{"shasum":"f7acc86f79f84236fc0e152dec8f6d385fee1e13","size":25974,"noattachment":false,"key":"/sitemap-static/-/sitemap-static-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/sitemap-static/download/sitemap-static-0.4.2.tgz"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sitemap-static-0.4.2.tgz_1492373558186_0.1567473814357072"},"directories":{},"publish_time":1492373560258,"_cnpm_publish_time":1492373560258,"_hasShrinkwrap":false},"0.4.1":{"name":"sitemap-static","version":"0.4.1","description":"generate a sitemap for a static website","main":"index.js","scripts":{"test":"tap --coverage test.js","release":"standard-version"},"bin":{"sitemap-static":"bin/index.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/tmcw/sitemap-static.git"},"keywords":["sitemap","static","generate"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/tmcw/sitemap-static/issues"},"homepage":"https://github.com/tmcw/sitemap-static","dependencies":{"findit":"~2.0.0","minimist":"1.2.0"},"devDependencies":{"concat-stream":"^1.5.0","standard-version":"^4.0.0","tap":"^10.3.2"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"gitHead":"442d25703312d338d9d7cb2692f47f3fbc26d8fa","_id":"sitemap-static@0.4.1","_shasum":"cccf4c50f84fa50e6f40c54490b3df81f43e3740","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.9.0","_npmUser":{"name":"tmcw","email":"tom+npm@macwright.org"},"dist":{"shasum":"cccf4c50f84fa50e6f40c54490b3df81f43e3740","size":25409,"noattachment":false,"key":"/sitemap-static/-/sitemap-static-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/sitemap-static/download/sitemap-static-0.4.1.tgz"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sitemap-static-0.4.1.tgz_1492373325289_0.3978142587002367"},"directories":{},"publish_time":1492373327293,"_cnpm_publish_time":1492373327293,"_hasShrinkwrap":false},"0.4.0":{"name":"sitemap-static","version":"0.4.0","description":"generate a sitemap for a static website","main":"index.js","scripts":{"test":"tap --coverage test.js"},"bin":{"sitemap-static":"bin/index.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/tmcw/sitemap-static.git"},"keywords":["sitemap","static","generate"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/tmcw/sitemap-static/issues"},"homepage":"https://github.com/tmcw/sitemap-static","dependencies":{"findit":"~1.1.1","minimist":"0.0.8"},"devDependencies":{"concat-stream":"^1.5.0","tap":"^1.3.2"},"gitHead":"cdf35c241698de67e1b47437b87540bee740563e","_id":"sitemap-static@0.4.0","_shasum":"f12d1c06ccd90a966e07c496851396cd1dd20849","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.2","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"dist":{"shasum":"f12d1c06ccd90a966e07c496851396cd1dd20849","size":15301,"noattachment":false,"key":"/sitemap-static/-/sitemap-static-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sitemap-static/download/sitemap-static-0.4.0.tgz"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sitemap-static-0.4.0.tgz_1480967420275_0.4325260703917593"},"directories":{},"publish_time":1480967421091,"_cnpm_publish_time":1480967421091,"_hasShrinkwrap":false},"0.3.2":{"name":"sitemap-static","version":"0.3.2","description":"generate a sitemap for a static website","main":"index.js","scripts":{"test":"tap --coverage test.js"},"bin":{"sitemap-static":"bin/index.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/tmcw/sitemap-static.git"},"keywords":["sitemap","static","generate"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/tmcw/sitemap-static/issues"},"homepage":"https://github.com/tmcw/sitemap-static","dependencies":{"findit":"~1.1.1","minimist":"0.0.8"},"devDependencies":{"concat-stream":"^1.5.0","tap":"^1.3.2"},"gitHead":"ab0a798c551fb4e3aa0abbf0018e84297399b836","_id":"sitemap-static@0.3.2","_shasum":"b59a0ce3b882b97b3df5217569c6caf72a957b2e","_from":".","_npmVersion":"4.0.2","_nodeVersion":"4.6.2","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"dist":{"shasum":"b59a0ce3b882b97b3df5217569c6caf72a957b2e","size":14781,"noattachment":false,"key":"/sitemap-static/-/sitemap-static-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/sitemap-static/download/sitemap-static-0.3.2.tgz"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/sitemap-static-0.3.2.tgz_1480902896488_0.7595272557809949"},"directories":{},"publish_time":1480902897125,"_cnpm_publish_time":1480902897125,"_hasShrinkwrap":false},"0.4.4":{"name":"sitemap-static","version":"0.4.4","description":"generate a sitemap for a static website","main":"index.js","scripts":{"test":"tap --coverage test.js","release":"standard-version"},"files":["cli.js"],"bin":{"sitemap-static":"cli.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/tmcw/sitemap-static.git"},"keywords":["sitemap","static","generate"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/tmcw/sitemap-static/issues"},"homepage":"https://github.com/tmcw/sitemap-static","dependencies":{"findit":"~2.0.0","minimist":"1.2.0"},"devDependencies":{"concat-stream":"^1.5.0","prettier":"^1.14.2","standard-version":"^4.0.0","tap":"^12.0.0"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"gitHead":"b52afbace7f0ff3ff8853db259a09ecde5bb7327","_id":"sitemap-static@0.4.4","_npmVersion":"6.4.0","_nodeVersion":"10.8.0","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"dist":{"shasum":"23c85a61f8e8e8956cd35f261a8e90789a42fc9c","size":2989,"noattachment":false,"key":"/sitemap-static/-/sitemap-static-0.4.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/sitemap-static/download/sitemap-static-0.4.4.tgz"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sitemap-static_0.4.4_1535048320170_0.17115446094758147"},"_hasShrinkwrap":false,"publish_time":1535048320275,"_cnpm_publish_time":1535048320275},"0.3.1":{"name":"sitemap-static","version":"0.3.1","description":"generate a sitemap for a static website","main":"index.js","scripts":{"test":"tap --coverage test.js"},"bin":{"sitemap-static":"bin/index.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/tmcw/sitemap-static.git"},"keywords":["sitemap","static","generate"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/tmcw/sitemap-static/issues"},"homepage":"https://github.com/tmcw/sitemap-static","dependencies":{"findit":"~1.1.1","minimist":"0.0.8"},"devDependencies":{"concat-stream":"^1.5.0","tap":"^1.3.2"},"gitHead":"7ef0ef5df4dce2ae57ac63c29f977c3d2d45c904","_id":"sitemap-static@0.3.1","_shasum":"65a6b020436e76274cef6c0c35eb8160d8f693c2","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.8.0","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"dist":{"shasum":"65a6b020436e76274cef6c0c35eb8160d8f693c2","size":3702,"noattachment":false,"key":"/sitemap-static/-/sitemap-static-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/sitemap-static/download/sitemap-static-0.3.1.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/sitemap-static-0.3.1.tgz_1457887011750_0.3325472848955542"},"directories":{},"publish_time":1457887014118,"_cnpm_publish_time":1457887014118,"_hasShrinkwrap":false},"0.3.0":{"name":"sitemap-static","version":"0.3.0","description":"generate a sitemap for a static website","main":"index.js","scripts":{"test":"tap --coverage test.js"},"bin":{"sitemap-static":"bin/index.js"},"repository":{"type":"git","url":"git@github.com:tmcw/sitemap-static.git"},"keywords":["sitemap","static","generate"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/tmcw/sitemap-static/issues"},"homepage":"https://github.com/tmcw/sitemap-static","dependencies":{"findit":"~1.1.1","minimist":"0.0.8"},"devDependencies":{"concat-stream":"^1.5.0","tap":"^1.3.2"},"gitHead":"64efb2c5e6f24338792dcfd1ef9c9a82674c74f9","_id":"sitemap-static@0.3.0","_shasum":"724d20420d67b4b5f1f195e419c4833b0063d749","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"dist":{"shasum":"724d20420d67b4b5f1f195e419c4833b0063d749","size":3571,"noattachment":false,"key":"/sitemap-static/-/sitemap-static-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sitemap-static/download/sitemap-static-0.3.0.tgz"},"directories":{},"publish_time":1438958467221,"_cnpm_publish_time":1438958467221,"_hasShrinkwrap":false},"0.2.0":{"name":"sitemap-static","version":"0.2.0","description":"generate a sitemap for a static website","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"bin":{"sitemap-static":"index.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/tmcw/sitemap-static.git"},"keywords":["sitemap","static","generate"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/tmcw/sitemap-static/issues"},"homepage":"https://github.com/tmcw/sitemap-static","dependencies":{"findit":"~1.1.1","minimist":"0.0.8"},"gitHead":"256af5d166bc01b4c9baf68d1b1d11a49ec3c2b6","_id":"sitemap-static@0.2.0","_shasum":"0255de137ca339a31d058a8053aee554a313e03d","_from":".","_npmVersion":"2.9.0","_nodeVersion":"0.12.2","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"dist":{"shasum":"0255de137ca339a31d058a8053aee554a313e03d","size":1538,"noattachment":false,"key":"/sitemap-static/-/sitemap-static-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sitemap-static/download/sitemap-static-0.2.0.tgz"},"directories":{},"publish_time":1433096801569,"_cnpm_publish_time":1433096801569,"_hasShrinkwrap":false},"0.1.0":{"name":"sitemap-static","version":"0.1.0","description":"generate a sitemap for a static website","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"bin":{"sitemap-static":"index.js"},"repository":{"type":"git","url":"git@github.com:tmcw/sitemap-static.git"},"keywords":["sitemap","static","generate"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/tmcw/sitemap-static/issues"},"homepage":"https://github.com/tmcw/sitemap-static","dependencies":{"findit":"~1.1.1","minimist":"0.0.8"},"_id":"sitemap-static@0.1.0","dist":{"shasum":"07f123b45b68eee0b24cad509046f5a075da22ce","size":1496,"noattachment":false,"key":"/sitemap-static/-/sitemap-static-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sitemap-static/download/sitemap-static-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"directories":{},"publish_time":1407683290564,"_cnpm_publish_time":1407683290564,"_hasShrinkwrap":false},"0.0.0":{"name":"sitemap-static","version":"0.0.0","description":"generate a sitemap for a static website","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"bin":{"sitemap-static":"index.js"},"repository":{"type":"git","url":"git@github.com:tmcw/sitemap-static.git"},"keywords":["sitemap","static","generate"],"author":{"name":"Tom MacWright"},"license":"ISC","bugs":{"url":"https://github.com/tmcw/sitemap-static/issues"},"homepage":"https://github.com/tmcw/sitemap-static","dependencies":{"findit":"~1.1.1","minimist":"0.0.8"},"_id":"sitemap-static@0.0.0","dist":{"shasum":"ba20e7f1c61663d39c7f3178bc0384a67b89c6e7","size":983,"noattachment":false,"key":"/sitemap-static/-/sitemap-static-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/sitemap-static/download/sitemap-static-0.0.0.tgz"},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"tmcw","email":"tom@macwright.org"},"maintainers":[{"name":"tmcw","email":"tom@macwright.org"}],"directories":{},"publish_time":1396640432533,"_cnpm_publish_time":1396640432533,"_hasShrinkwrap":false}},"readme":"# sitemap-static\n\n[![CircleCI](https://circleci.com/gh/tmcw/sitemap-static.svg?style=svg)](https://circleci.com/gh/tmcw/sitemap-static)\n[![Greenkeeper badge](https://badges.greenkeeper.io/tmcw/sitemap-static.svg)](https://greenkeeper.io/)\n\nMake a sitemap for a static website based on files on disk\n\n## install\n\n    npm install -g sitemap-static\n\n## usage\n\nUse in the root directory of the files on the site. This will only add\nfiles with `.html` extensions to the sitemap.\n\n    sitemap-static --prefix=http://foo.bar/foo/ . > sitemap.xml\n\n## library API\n\n```javascript\nvar generateSitemap = require('sitemap-static');\nvar fs = require('fs');\n\nvar writer = fs.createWriteStream('/path/to/your/sitemap.xml');\n\ngenerateSitemap(writer, {\n    findRoot: '.',\n    ignoreFile: '',\n    prefix: 'http://somesi.te/',\n    pretty: false\n})\n```\n\n## Ignore File\n\nAdded in v0.0.1 you can pass the name of a json file to load. File file needs to be\nin your current working directory and should be an array of file names (without the / at the front)\nthat you want ignored.  You can ignore entire directories by leaving off the .html.\nExample JSON:\n\n\t[\n\t\t\"ignore-me.html\",\n\t\t\"ignore-everything-in-me/\"\n\t]\n\nExample Command:\n\n\tsitemap-static --ignore-file=ignore.json --prefix=http://foo.bar/foo/ . > sitemap.xml\n\n## Pretty URLs\n\nIf you pass `--pretty` to the CLI (or `pretty: true` to the JS API), `sitemap-static` will output pretty URLs rather than the whole path to each file. For example:\n\n| Not pretty | Pretty |\n| --- | --- |\n| `http://www.example.com/index.html` | `http://www.example.com/` |\n| `http://www.example.com/about.html` | `http://www.example.com/about` |\n| `http://www.example.com/author/index.html` | `http://www.example.com/author` |\n| `http://www.example.com/author/main.html` | `http://www.example.com/author/main` |\n\nExample Command:\n\n\tsitemap-static --prefix=http://foo.bar/foo/ --pretty . > sitemap.xml\n","_attachments":{},"homepage":"https://github.com/tmcw/sitemap-static","bugs":{"url":"https://github.com/tmcw/sitemap-static/issues"},"license":"ISC"}