https://github.com/tinyhttp/nest
Nest.js adapter for tinyhttp
https://github.com/tinyhttp/nest
Last synced: 2 months ago
JSON representation
Nest.js adapter for tinyhttp
- Host: GitHub
- URL: https://github.com/tinyhttp/nest
- Owner: tinyhttp
- License: mit
- Created: 2021-09-12T08:04:46.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-28T12:00:53.000Z (over 1 year ago)
- Last Synced: 2025-03-24T08:47:27.502Z (3 months ago)
- Language: TypeScript
- Size: 204 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# @tinyhttp/nest
[![npm][npm-img]][npm-url] [![GitHub Workflow Status][gh-actions-img]][github-actions] [![Coverage][cov-img]][cov-url]
Nest.js adapter for tinyhttp
## Install
```sh
pnpm i @tinyhttp/nest
```## Usage:
```typescript
import { NestFactory } from '@nestjs/core'
import { AppModule } from './app.module'
import { NestTinyHttpApplication } from '@tinyhttp/nest'async function bootstrap() {
const app = await NestFactory.create(AppModule)
await app.listen(3000)
}
bootstrap()
```[npm-url]: https://npmjs.com/package/@tinyhttp/nest
[github-actions]: https://github.com/tinyhttp/nest/actions
[gh-actions-img]: https://img.shields.io/github/workflow/status/tinyhttp/nest/CI?style=for-the-badge&logo=github&label=&color=hotpink
[cov-img]: https://img.shields.io/coveralls/github/tinyhttp/nest?style=for-the-badge&color=hotpink
[cov-url]: https://coveralls.io/github/tinyhttp/nest
[npm-img]: https://img.shields.io/npm/dt/@tinyhttp/nest?style=for-the-badge&color=hotpink