mirror of https://github.com/tinyhttp/nest.git
286aa2aba9 | ||
---|---|---|
.github | ||
.husky | ||
src | ||
tests | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
LICENSE | ||
README.md | ||
commitlint.config.cjs | ||
package.json | ||
pnpm-lock.yaml | ||
rollup.config.js | ||
tsconfig.json |
README.md
Nest.js adapter for tinyhttp
Install
pnpm i @tinyhttp/nest
Usage:
import { NestFactory } from '@nestjs/core'
import { AppModule } from './app.module'
import { NestTinyHttpApplication } from '@tinyhttp/nest'
async function bootstrap() {
const app = await NestFactory.create<NestTinyHttpApplication>(AppModule)
await app.listen(3000)
}
bootstrap()