{"id":13801612,"url":"https://github.com/deno-libs/forwarded","last_synced_at":"2025-10-18T11:50:03.959Z","repository":{"id":65546713,"uuid":"345100843","full_name":"deno-libs/forwarded","owner":"deno-libs","description":"Deno port of `forwarded` library","archived":false,"fork":false,"pushed_at":"2023-08-03T17:11:26.000Z","size":27,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T20:14:40.453Z","etag":null,"topics":["backend","deno","deno-library","deno-port","http","x-forwarded-for"],"latest_commit_sha":null,"homepage":"https://deno.land/x/forwarded","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/deno-libs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"ko_fi":"v1rtl","liberapay":"v1rtl"}},"created_at":"2021-03-06T13:29:56.000Z","updated_at":"2023-09-08T18:19:25.000Z","dependencies_parsed_at":"2024-06-21T16:48:09.388Z","dependency_job_id":"674827a4-9e61-41ba-8671-89cc6b7b0247","html_url":"https://github.com/deno-libs/forwarded","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-libs%2Fforwarded","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-libs%2Fforwarded/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-libs%2Fforwarded/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-libs%2Fforwarded/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deno-libs","download_url":"https://codeload.github.com/deno-libs/forwarded/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250316065,"owners_count":21410476,"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","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":["backend","deno","deno-library","deno-port","http","x-forwarded-for"],"created_at":"2024-08-04T00:01:24.949Z","updated_at":"2025-10-18T11:49:58.923Z","avatar_url":"https://github.com/deno-libs.png","language":"TypeScript","readme":"# forwarded\n\n[![GitHub release (latest by date)][releases]][releases-page] [![GitHub Workflow Status][gh-actions-img]][github-actions]\n[![Codecov][codecov-badge]][codecov] [![][docs-badge]][docs]\n\nDeno port of [forwarded](https://github.com/jshttp/forwarded/) library.\n\n## Usage\n\n```ts\nimport { forwarded } from 'https://deno.land/x/forwarded/mod.ts'\n\nDeno.serve((req) =\u003e new Response(JSON.stringify(forwarded(req)))\n```\n\n## API\n\n### `forwarded(req)`\n\nGet all addresses in the request, using the `X-Forwarded-For` header.\n\n### `parse(header)`\n\nParse the X-Forwarded-For header.\n\n[releases]: https://img.shields.io/github/v/release/deno-libs/forwarded?style=flat-square\n[docs-badge]: https://img.shields.io/github/v/release/deno-libs/forwarded?color=yellow\u0026label=Documentation\u0026logo=deno\u0026style=flat-square\n[docs]: https://doc.deno.land/https/deno.land/x/forwarded/mod.ts\n[releases-page]: https://github.com/deno-libs/forwarded/releases\n[gh-actions-img]: https://img.shields.io/github/actions/workflow/status/deno-libs/forwarded/main.yml?branch=master\u0026style=flat-square\n[codecov]: https://codecov.io/gh/deno-libs/forwarded\n[github-actions]: https://github.com/deno-libs/forwarded/actions\n[codecov-badge]: https://img.shields.io/codecov/c/gh/deno-libs/forwarded?style=flat-square\n","funding_links":["https://ko-fi.com/v1rtl","https://liberapay.com/v1rtl"],"categories":["Modules"],"sub_categories":["Web utils"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeno-libs%2Fforwarded","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeno-libs%2Fforwarded","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeno-libs%2Fforwarded/lists"}