Crawl and parse links in sitemap recursively.
npm install sitemap-linksbash
npm install sitemap-links
`
Usage
`javascript
const get_sitemap_links = require('sitemap-links');
get_sitemap_links('https://example.com/sitemap_index.xml')
.then(urls => console.log(urls))
.catch(e => console.log(e));
`
$3
`javascript
const get_sitemap_links = require('sitemap-links');
// 10s timeout
get_sitemap_links('https://example.com/sitemap_index.xml', 10000)
.then(urls => console.log(urls))
.catch(e => console.log(e));
``