{"id":25858536,"url":"https://github.com/cpfriend1721994/platform-hyper-express","last_synced_at":"2026-03-06T23:32:47.736Z","repository":{"id":230866773,"uuid":"780319227","full_name":"cpfriend1721994/platform-hyper-express","owner":"cpfriend1721994","description":"Hyper-express Adapter for NestJS (@nnmt/platform-hyper-express)","archived":false,"fork":false,"pushed_at":"2024-04-08T07:53:41.000Z","size":34,"stargazers_count":16,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-22T09:37:27.933Z","etag":null,"topics":["express","high-performance","http-server","hyper-express","nestjs","nestjs-package","npm","npm-package","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@nnmt/platform-hyper-express","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/cpfriend1721994.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-04-01T08:06:53.000Z","updated_at":"2025-08-24T14:40:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"b50bd504-6ab4-42ad-9a6a-64a897cb1b90","html_url":"https://github.com/cpfriend1721994/platform-hyper-express","commit_stats":null,"previous_names":["cpfriend1721994/platform-hyper-express"],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/cpfriend1721994/platform-hyper-express","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpfriend1721994%2Fplatform-hyper-express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpfriend1721994%2Fplatform-hyper-express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpfriend1721994%2Fplatform-hyper-express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpfriend1721994%2Fplatform-hyper-express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpfriend1721994","download_url":"https://codeload.github.com/cpfriend1721994/platform-hyper-express/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpfriend1721994%2Fplatform-hyper-express/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30203357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["express","high-performance","http-server","hyper-express","nestjs","nestjs-package","npm","npm-package","typescript"],"created_at":"2025-03-01T20:20:34.981Z","updated_at":"2026-03-06T23:32:47.727Z","avatar_url":"https://github.com/cpfriend1721994.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hyper-express Adapter for NestJS\n\n\u003cdiv align=\"left\"\u003e\n\n[![NPM version](https://img.shields.io/npm/v/@nnmt/platform-hyper-express.svg?style=flat)](https://www.npmjs.com/package/@nnmt/platform-hyper-express)\n[![NPM downloads](https://img.shields.io/npm/dm/@nnmt/platform-hyper-express.svg?style=flat)](https://www.npmjs.com/package/@nnmt/platform-hyper-express)\n[![GitHub issues](https://img.shields.io/github/issues/cpfriend1721994/platform-hyper-express)](https://github.com/cpfriend1721994/platform-hyper-express/issues)\n[![GitHub license](https://img.shields.io/github/license/cpfriend1721994/platform-hyper-express)](https://github.com/cpfriend1721994/platform-hyper-express/blob/master/LICENSE)\n[![GitHub release](https://img.shields.io/badge/established-in%202024-green)](https://github.com/cpfriend1721994/platform-hyper-express/releases)\n[![GitHub stars](https://img.shields.io/github/stars/cpfriend1721994/platform-hyper-express)](https://github.com/cpfriend1721994/platform-hyper-express/stargazers)\n\n\u003c/div\u003e\n\n\n\n## Motivation\n**`platform-hyper-express`** is [**`NestJS HTTP Adapter`**](https://docs.nestjs.com/faq/http-adapter) that implement hyper-express into NestJS.\n\n[**`hyper-express`**](https://github.com/kartikk221/hyper-express) aims to be a simple yet performant HTTP \u0026 Websocket Server.\n\nCombined with the power of [**`uWebsockets.js`**](https://github.com/uNetworking/uWebSockets.js) - a Node.js binding of uSockets written in C++, **`platform-hyper-express`** allows NestJS Developers to unlock higher throughput for their web applications with their existing hardware.\n\n\n\n## Installation\n```sh\nnpm i @nnmt/platform-hyper-express\n```\n\n\n\n## Usage\nUse **HyperExpressAdapter** for NestJS HTTP Adapter. Must require **`@nestjs/platform-express`** in dependencies.\n```js\n// sample/nest-sample-1/src/main.ts\nimport { NestFactory } from '@nestjs/core';\nimport { HyperExpressAdapter } from '@nnmt/platform-hyper-express';\nimport { AppModule } from './app.module';\n\nasync function bootstrap() {\n  const app = await NestFactory.create(AppModule, new HyperExpressAdapter());\n  await app.listen(3000);\n}\nbootstrap();\n```\n\nOr use **`@nnmt/platform-hyper-express`** classes only to optimize hyper-express usage (Experimental).\n```js\n// sample/nest-sample-2/src/main.ts\nimport { NestFactory } from '@nestjs/core';\nimport {\n  HyperExpressAdapter,\n  NestHyperExpressApplication,\n} from '@nnmt/platform-hyper-express';\nimport { AppModule } from './app.module';\n\nasync function bootstrap() {\n  const app = await NestFactory.create\u003cNestHyperExpressApplication\u003e(\n    AppModule,\n    new HyperExpressAdapter(),\n  );\n  await app.listen(3000);\n}\nbootstrap();\n```\n\n\n\n## Sample\n- Sample projects are located in **`/sample`** directory.\n- Sample projects help developers to install/integrate **`platform-hyper-express`** into their NestJS projects.\n- Sample projects is not included in NPM package's source.\n\n\n\n## Encountering Problems?\n- **`@nnmt/platform-hyper-express`** is mostly compatible with **`@nestjs/platform-express`** but not **100%** therefore you may encounter some middlewares not working out of the box. In this scenario, you must either write your own polyfill or omit the middleware to continue.\n- Currently uWebsockets.js supports only Node.js LTS versions 16, 18 and 20 on (glibc) Linux, macOS and Windows, on [**`Tier 1`**](https://github.com/nodejs/node/blob/master/BUILDING.md#platform-list) platforms.\n- The uWebsockets.js version header is disabled by default. You may opt-out of this behavior by setting an environment variable called **`KEEP_UWS_HEADER`** to a truthy value such as **`1`** or **`true`**.\n\n\n\n## Still Having Problems?\n- Open an [**`Issue`**](https://github.com/cpfriend1721994/platform-hyper-express/issues) with details about what led up to the problem including error traces, route information, etc.\n\n\n\n## Testing Changes\nTo run platform-hyper-express functionality tests locally on your machine, you must follow the steps below.\n1. Clone the [**`platform-hyper-express`**](https://github.com/cpfriend1721994/platform-hyper-express.git) repository to your machine.\n2. Initialize and pull any submodule(s) which are used throughout the tests.\n3. Run **`npm install`** in the root directory.\n4. Run **`npm install`** in the **`/tests`** directory.\n5. Run **`npm test`** to run all tests with your local changes.\n\n\n\n## License\n[**MIT**](./LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpfriend1721994%2Fplatform-hyper-express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpfriend1721994%2Fplatform-hyper-express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpfriend1721994%2Fplatform-hyper-express/lists"}