{"id":13660503,"url":"https://github.com/jeremyben/tshttp","last_synced_at":"2025-04-24T19:31:05.969Z","repository":{"id":57142143,"uuid":"201086808","full_name":"jeremyben/tshttp","owner":"jeremyben","description":"Low-Level TypeScript HTTP-related Modules.","archived":true,"fork":false,"pushed_at":"2023-07-30T20:30:24.000Z","size":285,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-21T09:26:58.473Z","etag":null,"topics":["error-handling","headers","http","status","typescript"],"latest_commit_sha":null,"homepage":null,"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/jeremyben.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}},"created_at":"2019-08-07T16:25:11.000Z","updated_at":"2024-02-01T11:03:59.000Z","dependencies_parsed_at":"2024-01-15T20:50:20.802Z","dependency_job_id":"4fa4ca35-c24f-4717-9aa7-0d1f1fd0694b","html_url":"https://github.com/jeremyben/tshttp","commit_stats":{"total_commits":30,"total_committers":1,"mean_commits":30.0,"dds":0.0,"last_synced_commit":"2f103e21108f97e1968841602c31b34f7afdac2c"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyben%2Ftshttp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyben%2Ftshttp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyben%2Ftshttp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremyben%2Ftshttp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeremyben","download_url":"https://codeload.github.com/jeremyben/tshttp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250693533,"owners_count":21472273,"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":["error-handling","headers","http","status","typescript"],"created_at":"2024-08-02T05:01:22.348Z","updated_at":"2025-04-24T19:31:05.533Z","avatar_url":"https://github.com/jeremyben.png","language":"TypeScript","readme":"# tshttp 🧱\n\n\u003e [!WARNING]  \n\u003e This repo and its packages are deprecated. Please head to its successor: **[@reflet/http](https://github.com/jeremyben/reflet/tree/master/http)**\n\n_Low-Level_ TypeScript HTTP-related Modules.\n\n\n### [@tshttp/status](./status)\n\n```ts\nimport { Status } from '@tshttp/status'\n\nres.status(Status.Created)\n```\n\n### [@tshttp/header](./header)\n\n```ts\nimport { ResponseHeader } from '@tshttp/header'\n\nres.set(ResponseHeader.ContentType, 'application/json')\n```\n\n### [@tshttp/error](./error)\n\n```ts\nimport { HttpError } from '@tshttp/error'\n\nthrow HttpError(400, 'Nope')\nthrow HttpError.Forbidden('Access Denied')\n```\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremyben%2Ftshttp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeremyben%2Ftshttp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremyben%2Ftshttp/lists"}