Examples
Runnable apps, from one feature to a complete API. Each one is tested by the CI of the repository, and its code is imported in these pages when the site is built: what you read is what runs.
Start with the example of your server, then the one of the feature you need. The Tasks API shows how they fit together in a real project.
Run an example
Every example requires Node.js 22.18 or later, which runs the TypeScript sources directly. Copy it with degit, then install it with your package manager:
In every example, npm test runs the tests and npm run typecheck checks the types. The examples that use Redis or an SMTP server work without them: their compose.yaml starts them for development.