Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sitemap-urls

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sitemap-urls

Extract URLs from an XML sitemap.

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
165
decreased by-65.7%
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 06 Dec 2017

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