node package manager

bower-npm-install

<a href="http://travis-ci.org/arikon/bower-npm-install"><img src="https://secure.travis-ci.org/arikon/bower-npm-install.png?branch=master" /></a> <a href="http://badge.fury.io/js/bower-npm-install"><img src="https://badge.fury.io/js/bower-npm-install.png" /></a> [![Depend

bower-npm-install

It is a convenient tool to run npm install on every bower dependency.

  1. Install it npm -g install bower-npm-install
  2. cd to your project root with bower.json
  3. Run bower-npm-install and see the output
var bowerNpmInstall = require('bower-npm-install');
 
bowerNpmInstall(/*paths, options, config*/)
    .on('log', function(data) {
        console.log(data);
    })
    .on('error', function(err) {
        console.error(err);
    })
    .on('end', function(installed) {
        console.log('Installed packages: ' + JSON.stringify(installed, null, 2));
    });