An open API service indexing awesome lists of open source software.

https://github.com/thunder/site-differ

A tool that downloads all pages of your sitemap.xml twice and compares the results. Perfect for validating that your site doesn't change between background refactorings.
https://github.com/thunder/site-differ

compare-files refactoring-tools tools

Last synced: 11 months ago
JSON representation

A tool that downloads all pages of your sitemap.xml twice and compares the results. Perfect for validating that your site doesn't change between background refactorings.

Awesome Lists containing this project

README

          

# Site-Differ

Site-Differ validates that your site doesn't change when you do some background refactoring.
It downloads all pages that are linked in the sitemap.xml before and after the refactoring and compares them.

## Requirements

* node.js v14

## Installation

Just download this project.

```
git clone https://github.com/thunder/site-differ.git
cd site-differ
npm install
```

## Validation

The steps to validate your site are:

1. Download all pages for the first time `node index.js`
2. Do your refactoring
3. Download all pages for the second time `node index.js`