1.0.7 • Published 3 years ago

xmlsitemap-seo v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

xmlsitemap-seo

Universal CLI for sitemap.xml File Generator for SEO

Installation

npm

npm i xmlsitemap-seo

yarn

yarn add xmlsitemap-seo

Usage

Step 1: Create xmlsitemap.config.js file in your root directory.

Step 2: Add your URLs and last modified date in to the config file.

Example

    module.exports = {
      policy: {
        urls: [
          {
            url: "/enterprise/orgs-terms",
            lastMod: "2017-10-06",
          },
          {
            url: "//www.example.com",
            lastMod: "2017-10-06",
          },
        ],
      },
    };

Step 3: Run CLI as npx xmlsitemap-seo in your termminal.

Step 4: Provide directory path for the sitemap.xml file (Ex: './public', './').

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago