Skip to content

forumone/drupal-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drupal-modules

Retrieves information about Drupal modules.

Functions provided

  • retrieveProjectHistoryFile(project)
  • getProjectHistory(project)
  • getVersions(project)
  • getLatestVersions(project)
  • getLatestMinorVersions(project)

Usage

var drupal-modules = require('drupal-modules');

promise = drupal_modules.getVersions('gesso')
.then(function(versions) {
  var url = _.find(versions, { version_major : 8, version_minor : 1 }).download_link;
  return that.remoteAsync(url, true);
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published