Skip to content

Repository files navigation

Sitemap Team 6

Silent, precise, effective. No ghost routes. No false intel. Every URL accounted for.

sitemapteam6 The elite unit of sitemap.xml generation—precise, efficient, dominating. If RobotsForce1 is your air defense, this is your recon mission.

Features

  • Simple API, that is fluent and OOP lets you easily output the sitemap.xml web standard perfectly.
  • Supports sitemap.xml and sitemap indexes.
  • No dependencies, atomic, minimal, unopinionated.

npm version

License



Installation

npm  install  sitemapteam6



Usage

import { SitemapXml } from 'sitemapteam6';

const sitemap = new SitemapXml();
sitemap
    .url('https://example.com/')
    .priority(1.0)
    .changefreq('daily')
    .lastmod(new Date('2024-02-20'));
sitemap.url('https://example.com/about').lastmod(new Date('2024-02-21'));

console.log(sitemap.toSitemapXml());



Need robots.txt?

I provide a package for robots.txt as well.

If you use these together your project will be backed by some of the most elite web standard writers in the world, if not the most elite.

https://github.com/alexstevovich/robotsforce1



License

Licensed under the Apache License 2.0.

About

[Node.js] The elite unit of sitemap.xml generation—precise, efficient, dominating.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages