Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

@pandelis/sitemap-ping

0.0.2 • Public • Published

Sitemap Ping

Tool to ping all the URLS in an XML sitemap.

Usage:

    node ping.js https://example.com/sitemap.xml

Options:

You can choose to also ping with a mobile useragent using --mobile.

By default sitemap-ping will only use a desktop firefox useragent

usage: ping.js [-h] [-v] [--mobile] [-a ASYNC] site
 
Sitemap Ping
 
Positional arguments:
  site                  The sitemap to fetch
 
Optional arguments:
  -h, --help            Show this help message and exit.
  -v, --version         Show program's version number and exit.
  --mobile              Also use a mobile useragent
  -a ASYNC, --async ASYNC
                        How many GET requests to make asynchronously in
                        parallel

Keywords

none

Install

npm i @pandelis/sitemap-ping

DownloadsWeekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

20.1 kB

Total Files

4

Last publish

Collaborators

  • avatar