slots-core

1.0.0-beta-2 • Public • Published

SLoTS Core

Service Locator on TypeScript

NPM version Downloads Build Status Coveralls Status

What is SLoTS Core?

SLoTS is a Service Locator built specifically for TypeScript projects.
It's based on an old project of mine SIOC-TS.

Why?

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.

Installing the library

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.

Implementations

Currently known libraries implementing SLoTS Core:

Slots-Core is licensed under the Apache 2.0 license.

Package Sidebar

Install

npm i slots-core

Weekly Downloads

1

Version

1.0.0-beta-2

License

Apache-2.0

Last publish

Collaborators

  • npm