{"id":15714514,"url":"https://github.com/pooja40jadeja/sitemap-helper","last_synced_at":"2026-05-02T03:34:14.387Z","repository":{"id":255465512,"uuid":"852234105","full_name":"pooja40jadeja/sitemap-helper","owner":"pooja40jadeja","description":"Checks quality of your sitemaps. Also returns non-200 URLs.","archived":false,"fork":false,"pushed_at":"2024-09-04T13:22:26.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T19:47:04.488Z","etag":null,"topics":["javascript","jest","qa","qa-automation","qaautomation","seo","sitemap","sitemap-checker","sitemap-tester","sitemaps","software-testing","test-automation","test-automation-framework","testing","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pooja40jadeja.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-09-04T13:10:07.000Z","updated_at":"2025-02-25T14:10:09.000Z","dependencies_parsed_at":"2024-09-05T15:13:27.132Z","dependency_job_id":"35bba537-8da6-4674-bb7f-1f6acc3393b4","html_url":"https://github.com/pooja40jadeja/sitemap-helper","commit_stats":null,"previous_names":["pooja40jadeja/sitemap-helper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pooja40jadeja/sitemap-helper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooja40jadeja%2Fsitemap-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooja40jadeja%2Fsitemap-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooja40jadeja%2Fsitemap-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooja40jadeja%2Fsitemap-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pooja40jadeja","download_url":"https://codeload.github.com/pooja40jadeja/sitemap-helper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pooja40jadeja%2Fsitemap-helper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32522248,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["javascript","jest","qa","qa-automation","qaautomation","seo","sitemap","sitemap-checker","sitemap-tester","sitemaps","software-testing","test-automation","test-automation-framework","testing","typescript"],"created_at":"2024-10-03T21:37:47.034Z","updated_at":"2026-05-02T03:34:14.368Z","avatar_url":"https://github.com/pooja40jadeja.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sitemap-helper\n\n* Sitemap Helper checks that total number of urls are equal to or more than mininum required threshold.\n* Also, it checks that the Response codes other than 200 (404, 301, 302) returned by each URL present within Sitemaps are within given threshold.\n* The base URL can be defined as Environment variable or can be hardcoded as per the need.\n* This application also supports sitemaps with multiple sitemap files. To do that, just replace `sitemapFiles` in `tests/checkNoOfUrls.ts`\n and `sitemapFileName` in `tests/validateSitemapResponseCodes.ts` with path of your sitemap files. Also, update the minimum required threshold per sitemap file in `tests/checkNoOfUrls.ts`.\n* Currently, request rate is being controlled by https://www.npmjs.com/package/bottleneck as it allows to control maximum requests within given time in order to avoid sudden traffic on application.\n* If your application is able to handle such traffic, then you can remove bottleneck from fetch declaration as it will speed up the test execution.\n\n\n## Prerequisites\n\n* Node - v20+\n* npm\n\n## Installation\n\n1. Clone the repo\n   ```shell\n   git clone https://github.com/pooja40jadeja/sitemap-helper.git\n   ```\n2. Set the right Node version\n   ```shell\n   nvm use 20\n   ```\n3. Install NPM packages\n   ```shell\n   npm install\n   ```\n## Linting\n\nTo run lint: `$ npm run lint`\n\n## Execution\nTo run tests: `$ npm run test`\n\n## Reporting\nUpon completion of test execution, an HTML report will be generated under `\\out` folder. \nFor failed test, it will also log the error there.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpooja40jadeja%2Fsitemap-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpooja40jadeja%2Fsitemap-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpooja40jadeja%2Fsitemap-helper/lists"}