{"id":13837624,"url":"https://github.com/ykzts/edge-sitemap","last_synced_at":"2025-07-22T15:33:07.482Z","repository":{"id":80376551,"uuid":"605596374","full_name":"ykzts/edge-sitemap","owner":"ykzts","description":"Generator of Sitemaps using web standard technology for operation in Edge Computing.","archived":false,"fork":false,"pushed_at":"2023-03-17T09:25:17.000Z","size":245,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-09T10:44:46.923Z","etag":null,"topics":["edge","sitemap"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/edge-sitemap","language":"JavaScript","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/ykzts.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":"2023-02-23T13:51:48.000Z","updated_at":"2025-03-21T16:11:21.000Z","dependencies_parsed_at":"2023-05-24T18:30:15.410Z","dependency_job_id":null,"html_url":"https://github.com/ykzts/edge-sitemap","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"6cec4e1568fec79e17e9760574e57ce9225e90b5"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/ykzts/edge-sitemap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ykzts%2Fedge-sitemap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ykzts%2Fedge-sitemap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ykzts%2Fedge-sitemap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ykzts%2Fedge-sitemap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ykzts","download_url":"https://codeload.github.com/ykzts/edge-sitemap/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ykzts%2Fedge-sitemap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266520729,"owners_count":23942323,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["edge","sitemap"],"created_at":"2024-08-04T15:01:17.474Z","updated_at":"2025-07-22T15:33:07.408Z","avatar_url":"https://github.com/ykzts.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Edge Sitemap\n\nGenerator of Sitemaps using web standard technology for operation in Edge Computing.\n\n## Usage\n\n```javascript\nimport { SitemapStream } from 'edge-sitemap'\n\nfunction createReadableStream() {\n  return new ReadableStream({\n    start(controller) {\n      controller.enqueue({\n        loc: '/',\n        priority: 1.0,\n      })\n      controller.enqueue({\n        loc: '/privacy',\n        priority: 0.1,\n      })\n      controller.close()\n    },\n  })\n}\n\naddEventListener('fetch', (event) =\u003e {\n  const baseURL = 'https://example.com/'\n  const body = createReadableStream()\n    .pipeThrough(new SitemapStream({ baseURL }))\n    .pipeThrough(new TextEncoderStream())\n  const response = new Response(body, {\n    headers: {\n      'Content-Type': 'application/xml; charset=UTF-8',\n    },\n  })\n\n  return event.respondWith(response)\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fykzts%2Fedge-sitemap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fykzts%2Fedge-sitemap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fykzts%2Fedge-sitemap/lists"}