Modular, batteries-included TypeScript framework for server-side applications.
Built on standard ECMAScript decorators.
End-to-end type safety.
CaffeineJS is a TypeScript framework for building server-side applications. It is a monorepo of focused @caffeinejs/* packages — an IoC container, HTTP, configuration, messaging, caching, resilience, and more — so an application depends on the pieces it uses and nothing else.
It is built on standard ECMAScript decorators, with no experimentalDecorators, emitDecoratorMetadata or reflect-metadata anywhere, and it carries types end to end: the configuration schema, the route handler and the HTTP client all check against the same definitions.
CaffeineJS is released as release candidates, 0.0.1-rc.N, until 1.0.0. Any of them may break an application: each
release's notes on GitHub Releases list its breaking changes first.
Every @caffeinejs/* package is released at the same version. Install the ones an application uses at one exact
version:
npm install -E @caffeinejs/http @caffeinejs/application @caffeinejs/diVersioning explains why, and which Node.js versions are supported. To report a vulnerability, see the security policy.
This project is MIT licensed.