GitHub·· 5 天前AI 评分20
Nestia:NestJS 的高性能装饰器与 SDK 生成工具集
samchon/nestia
AI 导读
Nestia 是面向 NestJS 的辅助库集合,提供 @nestia/core 装饰器、SDK 生成器、Mockup 模拟器和 E2E 测试生成等功能。其运行时校验器比 class-validator 快 20,000 倍,JSON 序列化比 class-transformer 快 200 倍,性能提升达 30 倍。
正文
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/editor: Swagger-UI with Online TypeScript Editor@agentica: Agentic AI library specialized in LLM function calling@autobe: Vibe coding agent generating NestJS applicationnestia: 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
- Runtime validator is 20,000x faster than
- Software Development Kit
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.
Guide Documents
Check out the document in the website:
🏠 Home
📖 Features
- Core Library
- Software Development Kit
- Swagger Document
- E2E Testing
🔗 Appendix
来源:GitHub · github.com
