text: /**!
   * cnpmjs.org - index.js
   *
   * Copyright(c) cnpmjs.org and other contributors.
   * MIT Licensed
   *
   * Authors:
   *  dead_horse <dead_horse@qq.com> (http://deadhorse.me)
   */
  
  'use strict';
  
  /**
   * Module dependencies.
   */
  
  var config = require('./config');
  
  exports.loadConfig = config.loadConfig;
  exports.config = config;
  
  exports.startWorker = function (customConfig) {
    config.loadConfig(customConfig);
    require('./worker');
  };
  
  exports.startSync = function (customConfig) {
    config.loadConfig(customConfig);
    require('./sync');
  };
  