{"id":21331431,"url":"https://github.com/eibens/dein","last_synced_at":"2026-05-14T20:31:08.882Z","repository":{"id":62422243,"uuid":"397711867","full_name":"eibens/dein","owner":"eibens","description":"Functional-style dependency injection with minimal TypeScript syntax. Built for Deno.","archived":false,"fork":false,"pushed_at":"2021-08-24T18:10:59.000Z","size":8,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-05T00:07:59.543Z","etag":null,"topics":["deno","dependency-injection","functional","hooks","logging","minimal","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eibens.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-18T19:20:13.000Z","updated_at":"2021-08-24T18:11:02.000Z","dependencies_parsed_at":"2022-11-01T17:33:13.419Z","dependency_job_id":null,"html_url":"https://github.com/eibens/dein","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/eibens/dein","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eibens%2Fdein","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eibens%2Fdein/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eibens%2Fdein/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eibens%2Fdein/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eibens","download_url":"https://codeload.github.com/eibens/dein/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eibens%2Fdein/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33042071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deno","dependency-injection","functional","hooks","logging","minimal","typescript"],"created_at":"2024-11-21T22:33:05.898Z","updated_at":"2026-05-14T20:31:08.864Z","avatar_url":"https://github.com/eibens.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dein\n\n[dein] defines **de**pendency **in**jection in a functional way and with minimal\nsyntax. It is implemented in TypeScript for Deno.\n\n[![License][license-shield]](LICENSE)\n[![Deno module][deno-land-shield]][deno-land]\n[![Github\ntag][github-shield]][github] [![Build][build-shield]][build]\n[![Code\ncoverage][coverage-shield]][coverage]\n\n# Usage\n\nGet started by studying the \"Egg Maker\" example defined in\n[example.ts](example.ts) and its output:\n\n```sh\ndeno run https://deno.land/x/dein/example.ts\n```\n\nDocumentation is still work in progress. Fortunately, the source code is rather\nminimal:\n\n- [inject.ts](inject.ts) for creating new systems.\n- [hooks.ts](hooks.ts) for defining overrides.\n- [chain.ts](chain.ts) for combining overrides.\n- [mod.ts](mod.ts) exports all above.\n\n# Contributing\n\nRun [dev.ts](dev.ts) to build the source files locally:\n\n```ts\ndeno run -A dev.ts\n```\n\n[dein]: #\n\n\u003c!-- badges --\u003e\n\n[github]: https://github.com/eibens/dein\n[github-shield]: https://img.shields.io/github/v/tag/eibens/dein?label\u0026logo=github\n[coverage-shield]: https://img.shields.io/codecov/c/github/eibens/dein?logo=codecov\u0026label\n[license-shield]: https://img.shields.io/github/license/eibens/dein?color=informational\n[coverage]: https://codecov.io/gh/eibens/dein\n[build]: https://github.com/eibens/dein/actions/workflows/ci.yml\n[build-shield]: https://img.shields.io/github/workflow/status/eibens/dein/ci?logo=github\u0026label\n[deno-land]: https://deno.land/x/dein\n[deno-land-shield]: https://img.shields.io/badge/x/dein-informational?logo=deno\u0026label\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feibens%2Fdein","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feibens%2Fdein","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feibens%2Fdein/lists"}