0.2.1 • Published 10 years ago
freight.js v0.2.1
freight.js
An simple CommonJS dependency injection container for both node.js and the browser (using browserify). Loosely based on the Symfony2 DependencyInjection component but more minimal. Features include: JSON configuration, service tagging and a perculiar javascript sauce.
Goals
- It should be suited for the browser, a small file size and should browserify easily.
- Be small and to the point keep to a small set of functions.
- Does not handle the inclusion of libraries, should work independently of which module loader you use.
- Reuse ideas from the many existing DI Containers (also in other languages): "build upon the shoulders of giants"
Documentation
We currently have the following documentation: