Experimental
Skip to content

모듈 개요 ​

NexusTS는 @nexusts/* 네임스페이스로 33개 독립 패키지를 제공합니다. 필요한 것만 설치할 수 있습니다.

코어 ​

패키지설명
@nexusts/coreMVC + DI + 라우팅 + 검증 + 뷰. 프레임워크 코어.
@nexusts/clinx 명령어 러너. 스캐폴딩, 생성기, REPL, 라우트 인스펙터.

데이터베이스 ​

패키지설명
@nexusts/drizzle기본 ORM. 5개 방언 (postgres, mysql, sqlite, bun-sqlite, d1).
@nexusts/kysely타입 안전 SQL 쿼리 빌더. KyselyService, KyselyRepository (Lucid 스타일), KyselyModule.forRoot(). 내장 Migrator. 모든 Kysely 방언.

API & 통신 ​

패키지설명
@nexusts/graphqlSDL 우선 + 코드 퍼스트 GraphQL. @Resolver/@Query/@Mutation/@Arg 데코레이터.
@nexusts/grpc리플렉션 기반 gRPC 서버 + 타입드 클라이언트. 4가지 통신 방식.
@nexusts/wsWebSocket 게이트웨이.
@nexusts/sseServer-Sent Events.
@nexusts/openapiOpenAPI 3.1 스펙 생성 + Scalar UI.

Resilience ​

패키지설명
@nexusts/resilienceRetry + Circuit Breaker + Bulkhead. 크로스-팟 저장소. HTTP 관리 API.
@nexusts/feature-flag카나리 / A/B 테스트. @FeatureFlag() 가드 데코레이터.

프론트엔드 ​

패키지설명
@nexusts/viewInertia.js v3 (React/Vue SPA + SSR), Rendu, Edge, Eta.

보안 ​

패키지설명
@nexusts/authbetter-auth 통합.
@nexusts/shieldCSRF + HSTS + CSP + CORS.
@nexusts/limiter속도 제한. 3가지 전략.
@nexusts/session세션 관리.

관측 가능성 ​

패키지설명
@nexusts/logger구조화된 로깅 (Pino).
@nexusts/metricsPrometheus 메트릭.
@nexusts/tracingOpenTelemetry 트레이싱.

인프라 ​

패키지설명
@nexusts/cache애플리케이션 캐시. Memory / Drizzle / Redis.
@nexusts/config환경 설정 관리.
@nexusts/crypto암호화 + 해싱.
@nexusts/drive파일 저장소 추상화.
@nexusts/events이벤트 시스템.
@nexusts/health헬스 체크.
@nexusts/i18n국제화.
@nexusts/mail아웃바운드 이메일.
@nexusts/queue작업 큐.
@nexusts/redisRedis 클라이언트.
@nexusts/scheduleCron / Interval / Timeout 스케줄러.
@nexusts/static정적 파일 서빙.
@nexusts/upload파일 업로드 헬퍼.

Released under the MIT License.