Skip to content

librark/injectark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Injectark

Dependency Injector for Javascript

Installation

Getting Started

Why Injectark?

Injectark is a light-weight dependency injection container, which has zero dependencies and follows an isomorphic Javascript design: it runs both on the browser and server-side. Opposite to other dependency injection libraries, Injectark can be used with Vanilla Javascript, not needing a transpiler like Babel, a different language like Typescript, or other build tools.

Dependency Injection is a requirement for implementing design patterns like Inversion of Control, and is the cornerstone of code structuring practices such as the Hexagonal or Clean Architecture. Injectark aims to offer an implementation solution for these concepts in the Javascript Ecosystem, keeping itself at the perimeter of your codebase, and procuring to be framework agnostic.

License

MIT