Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Run npm install on every bower dependency
JavaScript

0.5.9

latest commit 6593951085
@arikon authored

README.md

bower-npm-install

Build Status NPM version Dependency Status

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

Quickstart

  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

API usage

Example

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));
    });
Something went wrong with that request. Please try again.