https://linkchecker.github.io/linkchecker/
There's a similar NodeJS program called blcl (broken-link-checker-local) which has the handy attribute that it works on local directories, making it particularly easy to use with static websites before deploying them.
https://www.npmjs.com/package/broken-link-checker-local
linkchecker can do this as well, if you provide it a directory path instead of a url.
https://linkchecker.github.io/linkchecker/
There's a similar NodeJS program called blcl (broken-link-checker-local) which has the handy attribute that it works on local directories, making it particularly easy to use with static websites before deploying them.
https://www.npmjs.com/package/broken-link-checker-local