qmetrics.net

TSyringe

Lightweight TypeScript and JavaScript dependency injection container

TSyringe provides constructor injection for TypeScript and JavaScript using decorators and a configurable container.

Overview

TSyringe is a dependency injection container aimed at TypeScript and JavaScript codebases that want constructor injection without a heavy framework. You register providers, mark classes with decorators, and resolve instances from a container that understands tokens, scopes, and child containers.

The API centers on decorators such as injectable, singleton, scoped, and inject for tokens and interface-style dependencies. Registration can happen through explicit register calls, registries on classes, and provider types including class, value, factory, and token aliases. Resolution supports singleton and scoped lifecycles, child containers, interception, and helpers for circular dependencies.

The project targets teams already using TypeScript metadata and typical npm installs with yarn or npm. Babel and React Native setups need extra configuration so metadata is emitted for injection. Examples in the documentation cover constructor injection with and without interfaces, named primitive injection, and disposable instances.

It is maintained as a focused IoC library rather than a full application framework, so you integrate it into existing apps and choose your own structure around the container.

Key features

  • Constructor injection with decorators
  • Singleton and scoped lifecycles
  • Injection tokens and provider types
  • Child containers and interception
  • Factory and value providers
  • Registry-based registration
  • Circular dependency helpers
  • Optional and multi-injection parameters

Use cases

  • Wiring services in Node or web backends
  • Managing test doubles with scoped containers
  • Sharing singletons across application modules
  • Injecting interface tokens in TypeScript
  • Composing child containers per request

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

  • Planning and review agents
  • Skills and command library
  • Runtime hooks and memory
JavaScriptCLIDetails →
★ 316.2k⟳ 14 days agoMIT

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

  • Declarative UI rendering
  • Encapsulated stateful components
  • JSX markup beside JavaScript logic
JavaScriptWebDetails →
★ 252.7k⟳ todayMIT

MarkItDown

Python utility converting office and media files to Markdown

MarkItDown converts many file types into Markdown for LLM and text analysis pipelines. It aims to preserve headings, lists, tables, and links rather than perfect human layout.

  • Multi-format file to Markdown conversion
  • Command-line and Python APIs
  • Optional Azure document services
PythonDocker, CLIDetails →
★ 199.7k⟳ yesterdayMIT

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

  • Unified PyTorch model definitions
  • Hugging Face Hub checkpoint loading
  • Pipeline task inference helpers
PythonCLIDetails →
★ 169.6k⟳ todayApache-2.0

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

  • Local tree-sitter AST code parsing
  • Queryable knowledge graph output
  • EXTRACTED and INFERRED edge tags
PythonLinux, macOS, Windows, CLIDetails →
★ 156.9k⟳ todayApache-2.0

Taste Skill

Agent skill for designed company sites and browser QA

Taste Skill packages art direction, asset scripts, and headless browser checks so coding agents produce company websites with consistent layout, imagery, and copy rules.

  • Agent-oriented website build workflow
  • Dealt palettes, type, and hero layouts
  • Licensed photograph and icon resolution
JavaScriptCLIDetails →
★ 125.4k⟳ 7 days agoMIT