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.

Install @wyrly/core first. Add framework adapters only when your app needs them.

Deno 2.x

Use JSR for Deno projects.
deno add jsr:@wyrly/core
Then import from @wyrly/core.
import { createContainer, Injectable, token } from "@wyrly/core";

Node.js 20+

Use npm for Node.js and bundler-based applications.
npm install @wyrly/core
import { createContainer, Injectable, token } from "@wyrly/core";

Bun

Use the npm package from Bun.
bun add @wyrly/core
import { createContainer, Injectable, token } from "@wyrly/core";

Framework adapters

Install the adapter that matches your runtime.
RuntimePackage
Next.js App Router@wyrly/next
Express@wyrly/express
Hono@wyrly/hono
Fresh 2.x@wyrly/fresh
GraphQL request context@wyrly/graphql
For example, install the Next.js adapter with:
npm install @wyrly/next @wyrly/core

Requirements

  • TypeScript 5+
  • Standard decorators
  • experimentalDecorators: false
  • ESM-compatible runtime or bundler
  • Deno 2.x, Node.js 20+, Bun, or a supported web framework
Wyrly does not require reflect-metadata or emitDecoratorMetadata.

Local repository development

If you are contributing to Wyrly itself:
git clone https://github.com/valid-lab/wyrly.git
cd wyrly
deno task setup:hooks
deno task check
deno task test