Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
latest
cargo-wtf/assembleLight dependency injection container for your application.
This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Bun, Browsers



JSR Score
100%
Published
a year ago (0.0.7)
With Cargo Assemble you get a simple and light dependency injection container for your project. Its straight forward to use and is suitable for simple use cases like the following:
import { Factory } from "jsr:@cargo/assemble"; const DI = new Factory(); class GreetingService { greet(value string) { return value; } } DI.assemble({ class: GreetingService }); DI.get(GreetingService);
Built and signed on
GitHub Actions
Add Package
deno add jsr:@cargo/assemble
Import symbol
import * as assemble from "@cargo/assemble";
Import directly with a jsr specifier
import * as assemble from "jsr:@cargo/assemble";
Add Package
bunx jsr add @cargo/assemble
Import symbol
import * as assemble from "@cargo/assemble";