docs: function getVersion (plugin) {
    return new Promise(function (resolve, reject) {
      npm.commands.view([plugin, 'version'], function (err, data) {
        if (err) return reject(err)
        resolve(Object.keys(data)[0])
      })
    })
  }