NestJS platform adapter for ultimate-express - drop-in replacement for @nestjs/platform-express
npm install nestjs-ultimate-expressA drop-in replacement for @nestjs/platform-express that uses ultimate-express instead of standard Express.js for enhanced performance.
``bash`
npm install nestjs-ultimate-expressor
yarn add nestjs-ultimate-express
Simply replace your import from @nestjs/platform-express to nestjs-ultimate-express:
typescript
import { NestFactory } from '@nestjs/core';
import { NestExpressApplication } from '@nestjs/platform-express';
import { AppModule } from './app.module';async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3000);
}
bootstrap();
`$3
`typescript
import { NestFactory } from '@nestjs/core';
import { NestExpressApplication } from 'nestjs-ultimate-express';
import { AppModule } from './app.module';async function bootstrap() {
const app = await NestFactory.create(AppModule);
await app.listen(3000);
}
bootstrap();
`That's it! Your application now runs on ultimate-express with all the performance benefits.
What's Different?
- ๐ Enhanced Performance: Built on ultimate-express for better performance
- ๐ Drop-in Replacement: No code changes needed beyond the import
- ๐งช Fully Compatible: Works with all existing NestJS features and middlewares
- ๐ฆ Lightweight: Only includes the platform adapter, uses your existing NestJS installation
Requirements
-
@nestjs/core ^10.0.0 || ^11.0.0
- @nestjs/common` ^10.0.0 || ^11.0.0MIT
Based on NestJS platform-express by the NestJS team.
Ultimate Express integration by gulzerr.