This page summarizes the stable public API surface for Wyrly DI v2.0. Anything not listed in the repository’sDocumentation Index
Fetch the complete documentation index at: https://docs.wyrly.dev/llms.txt
Use this file to discover all available pages before exploring further.
API.md is not part of the semver guarantee, including
internal modules and deep imports.
@wyrly/core
Core entrypoint:
| Export | Purpose |
|---|---|
token | Create a typed injection token |
Injectable | Standard decorator for explicit deps and lifetime |
createContainer | Create the root DI container |
graphToJson | Serialize a dependency graph to JSON |
graphToDot | Serialize a dependency graph to DOT |
graphToMermaid | Serialize a dependency graph to Mermaid |
TokenClassTokenInjectionTokenLifetimeContainerScopeProviderDependencyGraphValidationResult
Adapter packages
| Package | Key exports |
|---|---|
@wyrly/express | diMiddleware, ExpressRequestToken, ExpressResponseToken |
@wyrly/hono | di, getDI, HonoContextToken, RequestToken |
@wyrly/fresh | di, withDI, FreshContextToken, RequestToken |
@wyrly/graphql | createGraphQLDIContext, GraphQLRequestToken, GraphQLResponseToken |
@wyrly/next | withDI, withActionDI, createServerDI, NextRequestToken |