Quick script to crawl a website and find broken links. Generates a markdown report of all broken links.
install
git clone https://github.com/ff6347/find-broken-links.git
cd find-broken-links
npm ci
Adjust the siteUrl
variable in index.ts
.
Then run:
npx tsx index.ts
npm run test:server
In another terminal:
# no watch mode for now
npx tsx index.ts