SEO & CRAWLABILITY

Automate Your Sitemap.xml

Generate and update your site's XML sitemap programmatically. Ensure search engines always have the most current map of your content to improve indexing and SEO.

Join waitlist

sitemap.xml

import { sitemap } from '@do-sdk/sitemap-xml';

const urls = [
  { loc: 'https://example.com/', lastmod: '2023-10-26', changefreq: 'daily', priority: '1.0' },
  { loc: 'https://example.com/about', lastmod: '2023-10-20', changefreq: 'monthly', priority: '0.8' },
  { loc: 'https://example.com/contact', lastmod: '2023-09-15', changefreq: 'yearly', priority: '0.5' }
];

const mySitemap = await sitemap.generate({ urls });

// mySitemap now contains the complete, well-formatted XML content.
console.log(mySitemap.xml);

Deliver economically valuable work

Frequently Asked Questions

Do Work. With AI.