3.1.3 • Published 9 years ago

plug-n-play v3.1.3

Weekly downloads
2
License
BSD
Repository
github
Last release
9 years ago

plug-n-play

usage

var plugins = require('plug-n-play').configure(['Set']);
plugins.load(require('/path/to/set/plugin'));
plugins.load({
  type: 'MySweetPlugin'
  deps: ['Set']
  func: function(set) {
    return {
      count: function () {
        return set().length;
      }
    }
  };
});

var define = plugins.get('DefinePlugin');
define('Set', function() {
  return 4;
});

var mySweetPlugin = plugins.get('MySweetPlugin');
mySweetPlugin.count();
3.1.3

9 years ago

3.1.2

9 years ago

3.1.1

9 years ago

3.1.0

9 years ago

3.0.0

9 years ago

2.1.3

9 years ago

2.1.2

9 years ago

2.1.1

9 years ago

2.1.0

9 years ago

2.0.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago