0.1.0 • Published 8 years ago

yeoman-generator-bluebird v0.1.0

Weekly downloads
33
License
GPL-3.0
Repository
github
Last release
8 years ago

yeoman-generator-bluebird

Decorates functionality from yeoman-generator with Bluebird Promises.

Functions provided

  • promptAsync(questions)
  • remoteAsync(url, refresh)
  • remoteAsync(username, repo, branch, refresh)

Usage

var ygp = require('yeoman-generator-bluebird');

module.exports = generators.Base.extend({
  initializing : {
    async : function() {
      ygp(this);
    }
  }
});