https://github.com/thisislawatts/sitemapper
Parse a sitemap for URLs
https://github.com/thisislawatts/sitemapper
Last synced: about 2 months ago
JSON representation
Parse a sitemap for URLs
- Host: GitHub
- URL: https://github.com/thisislawatts/sitemapper
- Owner: thisislawatts
- License: mit
- Created: 2015-10-23T10:27:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-02T22:08:04.000Z (over 9 years ago)
- Last Synced: 2025-03-21T11:50:53.951Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 41 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Sitemapper
===
[](https://codeclimate.com/github/bcmh/sitemapper)
Install
---
```
npm install bcmh/read-sitemap --save
```
Usage
---
```js
const sitemap = require('sitemap');
sitemap('http://example.com/sitemap.xml');
sitemap.fetch();
sitemap.fetchUrls();
//=> ['http://example.com/', 'http://example.com/a']
```
API
---
### sitemap(url)
#### url
Type: `string`
License
---
MIT © [thisislawatts](http://bcmh.build)