v3.0.0
Current Version
S42-Core v3 is a 100% module-oriented framework: each module includes controllers, services, events and contracts to work independently inside high-performance Bun runtimes.
Built by Stock42 LLC
v3.0.0
Current Version
3
Module Types
Bun
Native Runtime
EN/ES
Documentation
Module Runtime Lifecycle
Load mws modules first
Register share modules
Load full controllers and events
Execute middleware on-demand per route
Quickstart Terminal
Platform Design
S42-Core combines routing, modular loading, events, storage adapters and clustering in a cohesive developer experience.
`Bun.serve`, native routes and hook pipeline.
`full`, `mws`, `share` with convention-based loading.
Distributed registry with Redis/SQS adapters.
Redis, MongoDB, SQL and SQLite integration utilities.
Module Strategy
Domain modules with controllers, handlers, services and events.
controllers/ · events/ · models/ · services/
Middleware modules with `default`, `beforeRequest` and `afterRequest` contracts.
mws/index.ts
Reusable contracts, helpers and shared services without route registration.
types/ · utils/ · services/
Implementation Examples
Documentation Center
Browse every component reference, architecture note and module contract directly from the site.