Socket
Socket
Sign inDemoInstall

sitemap-urls

Package Overview
Dependencies
83
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sitemap-urls

Extract URLs from an XML sitemap.


Version published
Weekly downloads
617
decreased by-26.02%
Maintainers
1
Install size
1.61 MB
Created
Weekly downloads
 

Readme

Source

Sitemap Urls

Build Status Dependency Status

Extract URLs from an XML sitemap.

Sitemap Urls screenshot

Getting Started

Install the Sitemap Urls command line tool:

npm install -g sitemap-urls
# or
yarn add -g sitemap-urls

Run sitemap-urls on a file containing a sitemap:

sitemap-urls sitemap.xml

Also supports piping:

curl http://example.com/sitemap.xml | sitemap-urls

Usage

CLI

Usage: sitemap-urls <path> [<options>]

Path:
    Path to a file containing an XML sitemap.
    This parameter is ignored when the sitemap is being piped.

Options:
    -h, --help      Show this help text.
    -v, --version   Print sitemap-urls' version.

API

.extractUrls(string xml) -> array

Extracts URLs from a string containing an XML sitemap.

Example result:

[
    "http://example.com/",
    "http://example.com/test/"
]

  • medic - Perform bulk URL status checks and track changes.

License

Sitemap Urls is released under the MIT license.

Copyright © 2015 Roland Warmerdam.

Keywords

FAQs

Last updated on 06 Dec 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc