@tylix/core
v0.3.5
Published
The Tylix framework runtime — HTTP server, routing, feature discovery, queues, scheduling, and channels.
Readme
@tylix/core
The Tylix framework runtime — HTTP server, routing, feature discovery, queues, scheduling, and channels.
What's included
- HTTP —
Server,enhanceResponse,parseBody,parseQuery,parseCookies,requireAuth - Routing —
Router - Discovery —
discoverFeatures,registerFeatureRoutes,loadCustomRoutes— auto-wires generated features into routes - Queue —
JobRecord,dispatch, run viatylix queue:work - Scheduling —
Scheduler, run viatylix schedule:work - Channels —
ChannelServer(WebSocket-based), run viatylix channels:work - Cache —
CacheRecord,Cache
Usage
import { Server, Router } from '@tylix/core'Most of this runs implicitly under tylix dev / tylix build rather
than being wired up by hand.
License
MIT
