Skip to content

gbk/module-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

module-updater


Global npm module updater.

Usage

var updater = require('module-updater');
updater.update('your-module', function(err, result) {
    // DO SOMETHING AFTER INSTALLING
});

APIs

update(module[, callback])

Install or update module to the latest version globally.

A callback is called after installing finished, the first argument of callback is error instance.

History

2.0.4

  • Fix linked module version not correct issue.

2.0.3

  • Link to local after install finished.

2.0.2

  • Grant permissions to NODE_PATH before install.

2.0.1

  • Use install command to replace update command.

About

Update or install a module globally

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published