diod
A very opinionated inversion of control (IoC) container and dependency injector for Typescript, Node.js or browser apps.
File Explorer
Download Latest Version (.zip)- commit-msg
- pre-commit
- bug_report.md
- feature_request.md
- publish.yml
- qa.yml
- extensions.json
- launch.json
- settings.json
- ContainerBuilder.md
- Service.md
- Abstract.md
- ConfigurableRegistration.md
- Container.md
- Newable.md
- Registration.md
- WithDependencies.md
- WithScopeChange.md
- BuildOptions.md
- Factory.md
- Identifier.md
- Instance.md
- README.md
- abstractions.md
- automatic-registration.md
- classes.md
- custom-decorator.md
- disable-autowire.md
- factories.md
- inheritance.md
- installation.md
- instances.md
- javascript.md
- README.md
- scope.md
- tagging.md
- visibility.md
- class-configuration.ts
- factory-configuration.ts
- instance-configuration.ts
- service-configuration.ts
- container-builder.ts
- container.ts
- decorators.ts
- diod.ts
- internal-types.ts
- reflection.ts
- registration-type.ts
- registration.ts
- scope-type.ts
- types.ts
- verifier.ts
- circular1.ts
- circular2.ts
- index.ts
- agenda.ts
- autoregistered-services.ts
- calendar.ts
- clock.ts
- console-logger.ts
- conversation.ts
- custom-decorator.ts
- extended-classes.ts
- hello-sayer.ts
- logger.ts
- multi-agenda.ts
- not-decorated.ts
- not-person.ts
- other-service-with-custom-decorator.ts
- person.ts
- register-service-decorator.ts
- sayer.ts
- service-with-custom-decorator.ts
- truer.ts
- user.ts
- abstractions.ts
- autoregistering.ts
- autowire-off.ts
- basic-with-dependencies.ts
- basic.ts
- builder.ts
- custom-decorator.ts
- factories.ts
- instances.ts
- scope.ts
- tagging.ts
- tsconfig.json
- visibility.ts
- .editorconfig
- .gitignore
- .npmignore
- biome.json
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- commitlint.config.cjs
- CONTRIBUTING.md
- cover.jpg
- diod.png
- LICENSE
- logo.svg
- package.json
- pnpm-lock.yaml
- README.md
- rollup.config.mjs
- tsconfig.json
- typedoc.json
# Installation Guide
1. Get the code
git clone https://github.com/artberri/diod
Downloads the entire project code from GitHub to your computer.
cd diod
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install diod
Downloads and installs the libraries listed in package.json.
yarn add diod
Type this command into your terminal and run it.
pnpm add diod
Type this command into your terminal and run it.
npm install reflect-metadata
Downloads and installs the libraries listed in package.json.
yarn add reflect-metadata
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
