This repository is no longer maintained. If you want to maintain it, open an issue and I will transfer ownership to you and add you as a maintainer on npm so you can continue this project. It was very useful when I was using component for browser side package management but I'm now using browserify instead and I see no reason to look back.
Simple programmatic, asynchronous installation of a component
$ npm install component-install
var install = require('component-install');
var dev = true;
install(join(__dirname, 'my-component'), dev, function (err) {
if (err) throw err;
});
MIT