Service Locator on TypeScript
SLoTS is a Service Locator built specifically for TypeScript projects.
It's based on an old project of mine SIOC-TS.
I've made this library because I don't like the way dependency injection is done in JavaScript because I would like it to be based on types instead of strings. Because TypeScript doesn't allow for reflection (yet) I've decided a ServiceLocator was the way to go.
The filosophy of the core project is that it actualy behaves like a slot, you can depend on the project and plugin any code.
For example SLoTS for Web, an implementation of the core project to provide a dependency resolver for web projects.
Or maybe an entire web platform using this internally.
Simply check out the NPM Package as a full dependency using:
npm install --save slots-core
See the Wiki for help using the library
See the Contribution guide for help about contributing to this project.
See the Changelog to see the change history.
Currently known libraries implementing SLoTS Core:
Slots-Core is licensed under the Apache 2.0 license.