test-npm-install

a module for testing the npm install command if used inside of your own module such as done in hooks

npm install test-npm-install
1 downloads in the last week
4 downloads in the last month

TEST-NPM-INSTALL

This module is here simply to aid in the testing of the npm install command when used inside modules.

How to use

npm install

require("child_process").exec("npm install test-npm-install", function(err){
    if(err){
        throw err;
    }
    else{
        require("test-npm-install");
    }
});

npm install

require("child_process").exec("npm install https://github.com/mcwhittemore/test-npm-install/tarball/master", function(err){
    if(err){
        throw err;
    }
    else{
        require("test-npm-install");
    }
});

npm install

require("child_process").exec("npm install ./path/to/test-npm-install", function(err){
    if(err){
        throw err;
    }
    else{
        require("test-npm-install");
    }
});
npm loves you