moost
v0.6.31
Published
moost
Maintainers
Readme
moost
moost is the core of Moostjs — a metadata-driven Event Processing Framework inspired by NestJS and powered by Wooks. This package provides the Moost application class, the decorator system (@Controller, @Injectable, @Intercept, @Pipe, ...), dependency injection, interceptors, and pipes shared by every event adapter (@moostjs/event-http, @moostjs/event-cli, @moostjs/event-ws, @moostjs/event-wf).
Quick Start
import { Moost, Controller, Param } from 'moost'
import { MoostHttp, Get } from '@moostjs/event-http'
@Controller()
class AppController {
@Get('hello/:name')
greet(@Param('name') name: string) {
return `Hello, ${name}!`
}
}
const app = new Moost()
void app.adapter(new MoostHttp()).listen(3000)
void app.registerControllers(AppController).init()Official Documentation
AI Agent Skill
A unified AI agent skill with framework guidance across all Moost packages is available for AI coding assistants (Claude Code, Cursor, Windsurf, Codex, OpenCode):
npx skills add moostjs/moostjsContributing
See the repository README for motivation and contribution guidelines.
