Skip to content

About

Native node:http and Bun.serve HTTP adapters for NestJS

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

nest-native-adapters

Run NestJS on node:http (Node.js) or Bun.serve (Bun) without Express or Fastify.

📖 Documentation: https://x-ror.github.io/nest-native-adapters/

Package Adapter
nestjs-adapter-node NodeHttpAdapter, backed by node:http
nestjs-adapter-bun BunHttpAdapter, backed by Bun.serve
npm install nestjs-adapter-node   # or nestjs-adapter-bun
import { NestFactory } from "@nestjs/core";
import { NodeHttpAdapter } from "nestjs-adapter-node";
import { AppModule } from "./app.js";

const app = await NestFactory.create(AppModule, new NodeHttpAdapter());
await app.listen(3000);

Requires Node.js 22+ or Bun 1.4+ and NestJS 10, 11 or 12.

Contributing · Changelog · License: 0BSD

About

Native node:http and Bun.serve HTTP adapters for NestJS

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages