TypeWired 0.1.2 - Initial Release 🚀 #6
valehasadli
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are excited to announce the first release of TypeWired, a TypeScript Dependency Injection (DI) library! This release brings the power and flexibility of Spring-like DI to TypeScript, making it easier to manage dependencies in your projects.
What's New 🌟
Dependency Injection Container: A core DI container that supports both singleton and transient service registrations.
Decorators for Ease of Use:
@InjectableSingleton
and@InjectableTransient
for registering services.@InjectableInterface
for registering interface implementations, using a unique symbol token system to represent interfaces.Interface Injection Support: Despite TypeScript's compile-time nature of interfaces, TypeWired introduces a system to handle interface-based dependency injection using symbols as interface tokens.
Type Safety with TypeScript Generics: Leverage TypeScript's generics for type-safe dependency injection.
Basic Unit Tests: Ensuring the reliability of core functionalities, including singleton/transient resolution and interface injection.
Documentation and Examples: Initial README with documentation and usage examples to get you started.
Getting Started 🛠️
To start using TypeWired in your TypeScript project, simply install the package from npm:
Check out the README for detailed instructions on how to implement TypeWired in your projects.
What's Next 🔮
Extensive Testing: More comprehensive tests to cover edge cases and complex scenarios.
Performance Optimization: Enhancements for better performance in large-scale applications.
Community Feedback: We welcome contributions, suggestions, and feedback to make TypeWired even better!
CI/CD Setup: Setting up continuous integration for automated testing and deployment.
This discussion was created from the release TypeWired 0.1.2 - Initial Release 🚀.
Beta Was this translation helpful? Give feedback.
All reactions