Nestia

NestJS Helper Libraries + TypeScript OpenAPI generator
GitHub
1.91k
Created 4 years ago, last commit 11 hours ago
39 contributors
1.88k commits
Stars added on GitHub, month by month
1
2
3
4
5
6
7
8
9
10
11
12
2024
Stars added on GitHub, per day, on average
Yesterday
=
Last week
+0.3
/day
Last month
+0.8
/day
Last 12 months
+1.1
/day
npmPackage on NPM
nestia
6.3.1
Monthly downloads on NPM
1
2
3
4
5
6
7
8
9
10
11
12
2024
README

Nestia

Nestia Logo

GitHub license npm version Downloads Build Status Guide Documents Discord Badge

Nestia is a set of helper libraries for NestJS, supporting below features:

  • @nestia/core:
    • Super-fast/easy decorators
    • Advanced WebSocket routes
  • @nestia/sdk:
    • Swagger generator, more evolved than ever
    • SDK library generator for clients
    • Mockup Simulator for client applications
    • Automatic E2E test functions generator
  • @nestia/e2e: Test program utilizing e2e test functions
  • @nestia/benchmark: Benchmark program using e2e test functions
  • @nestia/chat: Super A.I. Chatbot by Swagger document
  • @nestia/editor: Swagger-UI with Online TypeScript Editor
  • nestia: Just CLI (command line interface) tool

Note

  • Only one line required, with pure TypeScript type
  • Enhance performance 30x up
    • Runtime validator is 20,000x faster than class-validator
    • JSON serialization is 200x faster than class-transformer
  • Software Development Kit
    • Collection of typed fetch functions with DTO structures like tRPC
    • Mockup simulator means embedded backend simulator in the SDK
      • similar with msw, but fully automated

nestia-sdk-demo

Left is NestJS server code, and right is client (frontend) code utilizing SDK

Sponsors and Backers

Thanks for your support.

Your donation would encourage nestia development.

Backers

Guide Documents

Check out the document in the website:

🏠 Home

📖 Features

🔗 Appendix