function createFromDependency(pluginName) {
    var npmID = PluginDependency.nameToNpmID(pluginName);
    var version = pkg.dependencies[npmID];

    return PluginDependency.create(pluginName, version);
}
function createFromDependency(pluginName) {
    var npmID = PluginDependency.nameToNpmID(pluginName);
    var version = pkg.dependencies[npmID];

    return PluginDependency.create(pluginName, version);
}
function createFromDependency ( pluginName ) { var npmID = PluginDependency . nameToNpmID ( pluginName ) ; var version = pkg . dependencies [ npmID ] ; return PluginDependency . create ( pluginName , version ) ; }
Create a PluginDependency from a dependency of gitbook
@param {String} pluginName
@return {PluginDependency}
Create a PluginDependency from a dependency of gitbook
Create a new PluginDependency object from a name