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.

Wyrly is designed for TypeScript standard decorators. It does not require reflect-metadata, emitDecoratorMetadata, or parameter decorators. For TypeScript projects, use standard decorators:
{
  "compilerOptions": {
    "target": "ES2022",
    "module": "ESNext",
    "moduleResolution": "Bundler",
    "experimentalDecorators": false,
    "emitDecoratorMetadata": false,
    "strict": true
  }
}
The exact module and moduleResolution values depend on your runtime and build tool, but avoid enabling legacy decorator metadata.

Deno

Deno 2.x users should install from JSR:
deno add jsr:@wyrly/core
Then import through the configured bare specifier:
import { createContainer, Injectable, token } from "@wyrly/core";

Node.js and Bun

Node.js and Bun users should install from npm:
npm install @wyrly/core
Use ESM where possible:
{
  "type": "module"
}

No reflect metadata setup

Do not add this:
import "reflect-metadata";
Wyrly does not read runtime parameter types. Dependencies are declared explicitly with tokens and deps.