Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.wyrly.dev/llms.txt

Use this file to discover all available pages before exploring further.

The Wyrly repository includes runnable examples. Each example is one scenario and one learning goal.
  1. Start with core examples.
  2. Learn graph inspection and validation.
  3. Move to the adapter that matches your framework.

Core examples

FolderTopicRun
examples/basic-dddtokens, @Injectable, scoped lifetimes, disposaldeno task example:basic-ddd
examples/explicit-depsexplicit register({ deps }) without decoratorsdeno task example:explicit-deps
examples/provider-patternsuseValue, useFactory, useExistingdeno task example:provider-patterns
examples/dependency-graphinspect() and validate()deno task example:dependency-graph
Run all core examples:
deno task examples:core

Adapter examples

FolderPackageRun
examples/hono-api@wyrly/honodeno task example:hono-api
examples/express-api@wyrly/expressdeno task example:express-api
examples/graphql-request@wyrly/graphql with scoped DataLoaderdeno task example:graphql-request
examples/express-graphqlExpress and GraphQLdeno task example:express-graphql
examples/fresh-routes@wyrly/freshdeno task example:fresh-routes
examples/next-ddd@wyrly/nextdeno task example:next-ddd
Run all adapter examples:
deno task examples:adapters

Run everything

deno task examples
Express examples require net permission.

Use examples as composition-root references

The examples are intentionally small. Use them to see where provider registration belongs, how request scopes are created, and how framework code should hand off to application use cases.