https://github.com/alexstevovich/sitemapteam6
[Node.js] The elite unit of sitemap.xml generation—precise, efficient, dominating.
https://github.com/alexstevovich/sitemapteam6
micro nodejs webbuild webstandard
Last synced: about 1 month ago
JSON representation
[Node.js] The elite unit of sitemap.xml generation—precise, efficient, dominating.
- Host: GitHub
- URL: https://github.com/alexstevovich/sitemapteam6
- Owner: alexstevovich
- License: apache-2.0
- Created: 2025-03-08T19:42:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-08T22:43:26.000Z (over 1 year ago)
- Last Synced: 2025-10-04T05:48:56.493Z (8 months ago)
- Topics: micro, nodejs, webbuild, webstandard
- Language: JavaScript
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/alexstevovich/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.
[](https://www.npmjs.com/package/sitemapteam6)
[](LICENSE)
## Installation
```sh
npm install sitemapteam6
```
## Usage
```js
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](https://github.com/alexstevovich/robotsforce1)
## License
Licensed under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).