0.1.0 • Published 10 months ago

create-sitemap v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Create Sitemap

Simple JavaScript tool to generate a sitemap (if you are lazy).

Usage

$ npx create-sitemap https://example.com
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap-image/1.1">
    <url>
        <loc>https://example.com</loc>
        <lastmod>2024-09-07</lastmod>
        <changefreq>always</changefreq>
        <priority>1.0</priority>
    </url>
</urlset>

If npx create-sitemap https://example.com debug is used, it will output this:

<!-- Crawled https://example.com -->
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap-image/1.1">
    <url>
        <loc>https://example.com</loc>
        <lastmod>2024-09-07</lastmod>
        <changefreq>always</changefreq>
        <priority>1.0</priority>
    </url>
</urlset>
0.1.0

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago