lib/helpers/methods.js
function(helpers, options) {
      if (typeof helpers === 'object') {
        this.visit('helper', helpers);
        return this;
      }

      if (lazy.isGlob(helpers)) {
        this.loader('helpers-glob', ['base-glob'], function (files) {
          return files.map(function (fp) {
            return require(path.resolve(fp));
          });
        });

        var res = this.compose('helpers-glob')(helpers, options);
        this.visit('helper', res);
        return this;
      }

      if (typeof helpers === 'string') {
        console.log('loading helpers from a string is not implemented yet.');
      }
      return this;
    }
function(helpers, options) {
      if (typeof helpers === 'object') {
        this.visit('helper', helpers);
        return this;
      }

      if (lazy.isGlob(helpers)) {
        this.loader('helpers-glob', ['base-glob'], function (files) {
          return files.map(function (fp) {
            return require(path.resolve(fp));
          });
        });

        var res = this.compose('helpers-glob')(helpers, options);
        this.visit('helper', res);
        return this;
      }

      if (typeof helpers === 'string') {
        console.log('loading helpers from a string is not implemented yet.');
      }
      return this;
    }
function ( helpers , options ) { if ( typeof helpers === 'object' ) { this . visit ( 'helper' , helpers ) ; return this ; } if ( lazy . isGlob ( helpers ) ) { this . loader ( 'helpers-glob' , [ 'base-glob' ] , function ( files ) { return files . map ( function ( fp ) { return require ( path . resolve ( fp ) ) ; } ) ; } ) ; var res = this . compose ( 'helpers-glob' ) ( helpers , options ) ; this . visit ( 'helper' , res ) ; return this ; } if ( typeof helpers === 'string' ) { console . log ( 'loading helpers from a string is not implemented yet.' ) ; } return this ; }
Register multiple template helpers.

@param {Object|Array} `helpers` Object, array of objects, or glob patterns.
@api public
Register multiple template helpers .