{"id":20924449,"url":"https://github.com/techmely/uwebsocket-use","last_synced_at":"2026-04-22T12:02:08.432Z","repository":{"id":226739288,"uuid":"769523464","full_name":"techmely/uwebsocket-use","owner":"techmely","description":"The composable things you can use direct in your project with uwebsocket","archived":false,"fork":false,"pushed_at":"2024-04-13T07:26:15.000Z","size":1115,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-27T22:44:07.370Z","etag":null,"topics":[],"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/techmely.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-09T10:19:38.000Z","updated_at":"2024-03-16T17:02:01.000Z","dependencies_parsed_at":"2024-04-13T08:30:46.119Z","dependency_job_id":"8959912a-3835-41c8-acad-8c22a3658953","html_url":"https://github.com/techmely/uwebsocket-use","commit_stats":null,"previous_names":["techmely/uwebsocket-use"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/techmely/uwebsocket-use","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techmely%2Fuwebsocket-use","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techmely%2Fuwebsocket-use/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techmely%2Fuwebsocket-use/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techmely%2Fuwebsocket-use/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techmely","download_url":"https://codeload.github.com/techmely/uwebsocket-use/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techmely%2Fuwebsocket-use/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32135189,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T08:34:57.708Z","status":"ssl_error","status_checked_at":"2026-04-22T08:34:55.583Z","response_time":58,"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":[],"created_at":"2024-11-18T20:22:14.544Z","updated_at":"2026-04-22T12:02:06.855Z","avatar_url":"https://github.com/techmely.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Uwebsocket Use\n\nHere is the todo list I want to compose\n\n## Middleware\n\nCommon middleware\n\n- [x] Serve static\n- [x] CORS\n- [ ] Compress\n- [ ] Etag\n- [ ] Cache\n- [ ] Secure Headers\n- [ ] Power By\n- [ ] Timing(Latency)\n- [ ] Pretty JSON\n- [ ] Logger\n- [ ] Og Image\n- [ ] Feature Flags\n- [ ] Cookie\n\nSpecific middleware we used\n\n- [ ] Superbase Auth\n- [ ] AuthJs\n- [ ] Swagger UI\n- [ ] Valibot/Zod Validator\n\n## Utility functions\n\n### Request\n\n- [x] assertMethod(req, expected. allowHead?)\n- [x] getRequestIp(req)\n- [x] getRequestHost(req, opts: { xForwardedHost? })\n- [x] getRequestProtocol(req, opts: { xForwardedProto? })\n- [ ] getValidateQuery(req, validateFn)\n- [x] isMethod(req, expected, allowHead?)\n\n### Response\n\n- [x] readRawBody(res, encoding)\n- [x] readBody(res)\n- [x] readFomData(res)\n- [ ] readMultipartFormData(res)\n- [x] readValidatedBody\n- [x] appendHeaders(res, headers)\n- [x] isStream(data) [Checks if the data is a stream. (Node.js Readable Stream, WebStream or React Pipeable Stream)]\n- [x] sendRedirect(res, location, code?)\n- [x] sendStream(res, stream)\n- [ ] sendNoContent(res, code?)\n- [ ] writeEarlyHints(res, hints, callback)\n- [x] handleCacheHeaders(res, opts)\n\n### Cookie Utils\n\n- [x] deleteCookie(res, name, serializeOptions?)\n- [x] getCookie(req, name)\n- [x] setCookie(res)\n- [x] parseCookies(req)\n\n### Cors\n\n- [x] appendCorsHeaders(res, options)\n- [x] appendCorsPrelightHeaders(res, options)\n- [x] handleCors(res, options)\n\n### Proxy\n\n- [ ] proxyRequest(res, req, opts)\n- [ ] sendProxy(res, target, opts)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechmely%2Fuwebsocket-use","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechmely%2Fuwebsocket-use","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechmely%2Fuwebsocket-use/lists"}