@expressots/core
v4.2.1
Published
Expressots - modern, fast, lightweight nodejs web framework (@core)
Readme
Install
npm i @expressots/coreWhat This Package Does
ExpressoTS Core is the foundation of the framework. It provides dependency injection, routing, middleware orchestration, lifecycle hooks, interceptors, guards, error handling, and the application bootstrap. Everything needed to structure and run a server-side TypeScript application with minimal boilerplate.
Quick Look
import { bootstrap } from "@expressots/core";
import { App } from "./app";
void bootstrap(App);Requirements and Packaging
- Node.js 20.19.0 or newer.
- Ships dual builds: ESM (
import) and CommonJS (require), selected automatically via conditional exports. - Subpath entry points:
@expressots/core/testing,@expressots/core/di,@expressots/core/render,@expressots/core/path-resolver. - Validation is bring-your-own:
zod,yup, andclass-validatorare optional peer dependencies. Install only the one you use; the matching adapter is detected at runtime.
Testing Utilities
import {
createTestApp,
setupExpressoTSMatchers,
} from "@expressots/core/testing";
const app = await createTestApp(App);
await app.request().get("/health").expectStatus(200);Documentation
For guides, API reference, architecture patterns, and examples visit doc.expresso-ts.com.
Contributing
Welcome to the ExpressoTS community. See the Contributing Guide for how to get involved.
Support the project
License
MIT. See LICENSE.
