{"id":14984958,"url":"https://github.com/narumincho/readonly","last_synced_at":"2026-02-12T13:14:40.447Z","repository":{"id":248198079,"uuid":"828044097","full_name":"narumincho/readonly","owner":"narumincho","description":"TypeScript readonly type","archived":false,"fork":false,"pushed_at":"2024-10-11T01:02:33.000Z","size":37,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-03T08:53:27.691Z","etag":null,"topics":["deno","immutable","typescript"],"latest_commit_sha":null,"homepage":"https://jsr.io/@narumincho/readonly","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/narumincho.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-07-13T01:03:44.000Z","updated_at":"2024-10-11T01:00:29.000Z","dependencies_parsed_at":"2024-07-13T02:29:16.308Z","dependency_job_id":"1e87e57f-f0ac-47f2-a449-9cfca51069e6","html_url":"https://github.com/narumincho/readonly","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"ec73079a3c00a0167724cf4a53d3625bc5259d19"},"previous_names":["narumincho/readonly"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/narumincho/readonly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narumincho%2Freadonly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narumincho%2Freadonly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narumincho%2Freadonly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narumincho%2Freadonly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/narumincho","download_url":"https://codeload.github.com/narumincho/readonly/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narumincho%2Freadonly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29366697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["deno","immutable","typescript"],"created_at":"2024-09-24T14:09:55.290Z","updated_at":"2026-02-12T13:14:40.442Z","avatar_url":"https://github.com/narumincho.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @narumincho/readonly\n\nhttps://jsr.io/@narumincho/readonly\n\nTypeScript readonly type\n\n- ReadonlyURL\n- ReadonlyURLSearchParams\n- ReadonlyUint8Array\n\n## Example\n\n```ts\nconst url = new URL(\"https://example.com\");\nfunc(url);\nconsole.log(url); // https://example.com/aaa\n\nconst func = (url: URL): void =\u003e {\n  url.pathname = \"/aaa\";\n};\n```\n\n```ts\nimport type { ReadonlyURL } from \"jsr:@narumincho/readonly\";\n\nconst url = new URL(\"https://example.com\");\nfunc(url);\nconsole.log(url);\n\nconst func = (url: ReadonlyURL): void =\u003e {\n  url.pathname = \"/aaa\"; // Cannot assign to 'pathname' because it is a read-only property.\n};\n```\n\nWith `jsr:@narumincho/readonly`, URLs can be guaranteed not to be overwritten\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarumincho%2Freadonly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnarumincho%2Freadonly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarumincho%2Freadonly/lists"}