nestbox-core
v0.2.1
Published
NestJS-style decorators, DI container and router for Fastify + TypeBox.
Maintainers
Readme
@nestbox/core
⚠️ FIRST TESTING VERSION — DO NOT USE IN PRODUCTION YET. This is an early, experimental release. APIs may change without notice and it has not been hardened or battle-tested. Use it for experiments and feedback only.
NestJS-style decorators, a small dependency-injection container, and a router for Fastify — with first-class TypeBox schemas that drive validation, serialization, and static types from a single source.
- 🎯 Decorator-based controllers (
@Controller,@Get,@Post, …) - 💉 Constructor dependency injection (
@Injectable) with circular-dep detection - 🧩 One TypeBox schema per route → AJV validation +
fast-json-stringifyserialization + inferred request types - 🪶 Tiny and dependency-light: Fastify and TypeBox are peer dependencies
- ⚡ Modern TC39 decorators — no
reflect-metadata, noexperimentalDecorators
Install
📦 Starter pack —
create-nestbox.
