{"id":15930044,"url":"https://github.com/seancdavis/node-link-checker","last_synced_at":"2026-05-19T04:03:14.814Z","repository":{"id":146757588,"uuid":"586520840","full_name":"seancdavis/node-link-checker","owner":"seancdavis","description":"Simple script that checks for broken links on a site and reports the results in the console","archived":false,"fork":false,"pushed_at":"2023-01-12T02:11:11.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-22T09:46:22.444Z","etag":null,"topics":["links","nodejs","testing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seancdavis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-08T12:50:34.000Z","updated_at":"2025-01-18T12:00:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c113e14-0735-42c6-a44a-f526b9d99feb","html_url":"https://github.com/seancdavis/node-link-checker","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"8985e2cab5ed49fae119d4fb87f353cfb5a8e551"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/seancdavis/node-link-checker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seancdavis%2Fnode-link-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seancdavis%2Fnode-link-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seancdavis%2Fnode-link-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seancdavis%2Fnode-link-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seancdavis","download_url":"https://codeload.github.com/seancdavis/node-link-checker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seancdavis%2Fnode-link-checker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270856775,"owners_count":24657700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["links","nodejs","testing"],"created_at":"2024-10-07T00:22:48.372Z","updated_at":"2026-05-19T04:03:09.775Z","avatar_url":"https://github.com/seancdavis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Link Checker with Node.js\n\nThis is a simple script that recursively checks links on a URL and reports the results back to the console.\n\n## Usage\n\nIf you're going to use this in your project, you may just want to copy the `index.js` code and install the appropriate dependencies.\n\n    npm install linkinator chalk\n\nOr you can clone and work with this repo directly.\n\n    git clone https://github.com/seancdavis/node-link-checker.git\n    cd node-link-checker\n    npm install\n\n### Setting the Base URL\n\nThe script looks for a `LINK_CHECKER_BASE_URL` environment variable which it uses as the first link to check, and then begins recursively scanning that page by following links on the same domain.\n\nThere is also a fallback URL set directly in the `index.js` script, which you can change.\n\n## Contact\n\nThis was built as an example project to serve a blog post. I don't intend on maintaining or improving it. I've built more complex examples for use in production in other repositories.\n\nIf you have questions or find bugs, feel free to [send me a message](https://www.seancdavis.com/contact/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseancdavis%2Fnode-link-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseancdavis%2Fnode-link-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseancdavis%2Fnode-link-checker/lists"}