Scan your whole stack
Are you using dinjy?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.2.0
dinjy was last scanned on 30 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.0 LATEST | 30 Nov 2026 | No rules fired |
Findings for v0.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.2.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
dinjy - Dani's Injection ThingyA simple, type-safe dependency injector that you can add to any Node.js project.
The main goal of this project is to remain easy to use and set up, and to be transparent for the components being injected by not requiring them to be shaped around the functionality of the injector, and thus allow this library to serve as a useful tool you can add or remove rather than a key piece you are forced to shape your code around.
To this end, one key principle in guiding this project is that it must be possible to add the injector to a project that already follows the principle of dependency injection (i.e., dependencies are provided by the constructing code, and not constructed by a component) without changing how the injected components work.
Usage of dinjy is divided into two steps. First, you use the Binder class to define your components, their
dependencies, and how to instantiate them:
import { Binder } from 'dinjy'
const binder = new Binder()
binder.bindConstructor(SomeComponent, [SomeDependency, AnotherDependency])
Afterwards, you create an Injector by calling .injector() on your binder, allowing you to then get your instantiated components:
const injector = binder.injector()
const component = injector.get(SomeComponent)
Check the docs directory for the full documentation, including the basics and lifecycle guides.
Check the examples directory for a few usage examples.
This package is licensed under the MIT License. Check LICENSE for the full license.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.