1.1.0 • Published 10 months ago

crawldiff v1.1.0

Weekly downloads
2
License
ISC
Repository
github
Last release
10 months ago

crawldiff

crawlldiff will help with migrating websites from one system to another. Will crawl a website and compare it to another, reporting on any differences.

Installation

You can optionally choose to install this tool locally, or just execute it using npx and npm will automatically download it on first use.

To install it globally, use:

  npm install -g crawldiff

Or as part of a specific project, use:

  npm install --save-dev crawldiff

Configuration

No configuration necessary.

Usage

Usage: npx crawldiff [options] <start> <comparison>

Crawls a website and compares each page to a different host.

Arguments:

ArgumentDescription
startthe initial page to start crawling (e.g. https://www.example.com/)
comparisonthe secondary host to compare against (e.g. https://new.example.com/ )

Options:

OptionDescription
-v, --versionoutput the version number
-s, --similarity <0.01-1.0>specifiy the minimum required similarity between hosts (default: 1)
-t, --timeout the maximum time in seconds to run the crawler (default: 60)
-r, --resourcesinclude static resources (such as scripts and styles) in comparison
-d, --detailedreport full detailed diffs for each problem
-m, --mobileidentify as a mobile device via user-agent
-w, --warmup-cachemakes two requests to each URL and compares only the second. This ensures that you are always comparing the warmed (cached) version of the page
-V, --verboseprovide more detailed output while running
-D, --debugprovide debug level output while running
-h, --helpdisplay help for command

Copyright / License

See LICENSE

1.1.0

10 months ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago