/depmanjs

JavaScript dependency manager. UNMAINTAINED!

Primary LanguageJavaScriptMIT LicenseMIT

Depmanjs

JavaScript dependency manager. You can provide module like this:

depman.use([], function () {
  return {
    sum: function (a, b) {
      return a+b;
    }
  };
}, 'module.name');

API

Depmanjs has four main methods, each packing quite a punch.


config(params)

depman.config() lets you configure your project and if you use any non-depmanjs lib, you can add rules as they are attached to depmanjs for further use.

Arguments

  • params / object (Object) - params of the project

Examples

// simple
depman.config({
  project: 'Project name',
  version: '0.0.1',
  production: false, // default
  vendors: {} // default
});

Browser support

Depmanjs passes our tests in all the following browsers. If you've found bugs in these browsers or others please let us know by submitting an issue on GitHub!

  • IE7+
  • Chrome 1+
  • Safari 4+
  • Firefox 3.5+
  • Opera 10+

Contributors

Licence & copyright

Depmanjs is copyright © 2013 Egor Sharapov and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included MIT-LICENSE file for more details.