node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »


NPM version Dependency Status Dependency Status


Plugin for the Scatter IoC container for injecting all the modules in a specified namespace.


Setup Scatter to use the plugin

var Scatter = require('scatter'),
  ScatterPluginAll = require('scatter-plugin-all');
var scatter = new Scatter({
  plugins: [new ScatterPluginAll()]

Inject all the modules of a namespace

module.export = function(modules) {
  return {
    foo: function() {
module.export.__module = {
  args: ["all!this/is/a/namespace"]


2 - Unstable

The API is in the process of settling, but has not yet had sufficient real-world testing to be considered stable.

Bitdeli Badge