{"id":32120520,"url":"https://github.com/typicalfence/please-respond","last_synced_at":"2026-05-15T18:31:07.440Z","repository":{"id":62421436,"uuid":"453206599","full_name":"TypicalFence/please-respond","owner":"TypicalFence","description":"Response Builder for Deno","archived":false,"fork":false,"pushed_at":"2022-01-29T20:14:22.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T19:53:41.679Z","etag":null,"topics":["deno"],"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/TypicalFence.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}},"created_at":"2022-01-28T20:24:06.000Z","updated_at":"2022-01-31T09:27:25.000Z","dependencies_parsed_at":"2022-11-01T17:31:48.356Z","dependency_job_id":null,"html_url":"https://github.com/TypicalFence/please-respond","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/TypicalFence/please-respond","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypicalFence%2Fplease-respond","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypicalFence%2Fplease-respond/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypicalFence%2Fplease-respond/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypicalFence%2Fplease-respond/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TypicalFence","download_url":"https://codeload.github.com/TypicalFence/please-respond/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TypicalFence%2Fplease-respond/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280151533,"owners_count":26281249,"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-10-20T02:00:06.978Z","response_time":62,"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":["deno"],"created_at":"2025-10-20T19:53:36.925Z","updated_at":"2025-10-20T19:53:42.075Z","avatar_url":"https://github.com/TypicalFence.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Please Respond\n\nA Response Builder for Deno with a functional interface that consists of small composable functions, alternativly there is a more OOP style interface.\n\nThe basic idea is that there's small functions that change a detail about a given response, the library calls such functions steps. Said steps can then be chained to form the desired response.\n\nThere is also a `pipe` function which will apply all steps for a given response, per default an empty response is used.\n\nInternally it represents response as a custom type that holds all data of a response, because you can't easily get the body out of a response.\n\nAll steps should copy their input and return a new object.\n\nThere is a single tiny dependency for easier currying.\n\n## Examples\n\n### Functional\n\n```ts\nimport { body, html, pipe } from \"https://deno.land/x/please_respond/mod.ts\";\nimport { toResponse } from \"https://deno.land/x/please_respond/mod.ts\";\ntoResponse(pipe([html, body(\"\u003ch1\u003e🦕\u003c/h1\u003e\")]));\ntoResponse(pipe([json, body({ simple: \"JSON support\" })]));\n```\n\n### OOP\n\n```ts\nimport { body, html } from \"https://deno.land/x/please_respond/mod.ts\";\nimport { response } from \"https://deno.land/x/please_respond/oop.ts\";\nresponse().applyAll([\n    html,\n    body(\"\u003ch1\u003e🦕\u003c/h1\u003e\"),\n]).toResponse();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypicalfence%2Fplease-respond","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftypicalfence%2Fplease-respond","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftypicalfence%2Fplease-respond/lists"}