test-npm-install

0.0.0 • Public • Published

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");
    }
});

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i test-npm-install

      Weekly Downloads

      156

      Version

      0.0.0

      License

      BSD

      Last publish

      Collaborators

      • mcwhittemore