checkout or update a component from github for local install


Check out or update all the semver tags(including master) from github into a global folder process.env.REMOTE_FOLDER.

The purpose is to have a static server on that to avoid too much github API call from component :)

It's a work in progress.

Require node >= 0.11.

component checkout component/emitter@1.0.0
var checkout = require('component-checkout');
co(function* (){
  yield checkout('component/emitter', '1.0.0');