New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sitemap-generator

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sitemap-generator

Creates an XML-Sitemap by crawling a given site.

  • 2.1.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.5K
decreased by-40.46%
Maintainers
1
Weekly downloads
 
Created
Source

Node Sitemap Generator

npm version Build Status

Creates an XML-Sitemap by crawling a given site.

Installation

$ npm install -g sitemap-generator

Usage

$ sitemap-generator [options] <url>

The crawler will fetch all sites matching folder URLs and certain file extensions. You can include files with -i ext or ignore files with -e ext. Most of the common file types are already black listed. File types parsed by Google are not black listed.

Tip: Omit the URL protocol, the crawler will detect the right one.

Options

$ sitemap-generator --help

  Usage: sitemap-generator [options] <url>

  Options:

    -h, --help                output usage information
    -V, --version             output the version number
    -q, --query               consider query string
    -i, --include [ext,ext2]  include fetched links by file extension, comma seperated
    -e, --exclude [ext,ext2]  exclude fetched links by file extension, comma seperated
    -o, --output [path]       specify output path

Important: Executing the sitemap-generator with sites using HTML base-tag along with links without leading slashes will probably not work.

Keywords

FAQs

Package last updated on 20 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc