Tiny and easy to use JavaScript Inversion of Control (IoC) framework.
- Tiny and easy to use
- Asynchronous Module Definition (AMD) support (soon!)
- Dependency Injection
- Injection via properties
- Injection via constructor
- Singleton (default) and Prototype beans
- Aspect-oriented programming (AOP)
- Advices: before, after, afterThrow, afterFinally, around and introduction
- Method name matching with Regular Expressions
- Dependency injection container integration
- Dependency Injection
- AOP
To install, first make sure you have a working copy of the latest stable version of Node.js. You can then install the following packages with npm (Node Package Manager):
npm install -g grunt
npm install -g coffee-script
npm install grunt-coffee
Then run grunt
to build nori.js or grunt watch
to keep watching files for changes.