dotbin
v1.0.1
Published
Prepend node_modules/.bin to process.env.PATH
Downloads
44
Readme
console.log('Path before dotbin', process.env.PATH);
require('dotbin');
console.log('Path after dotbin', process.env.PATH);
Installation
$ npm install dotbin --save
More examples
var dotbin = require('dotbin/api');
dotbin.enable();
console.log(dotbin.check(), process.env.PATH);
dotbin.disable();
console.log(dotbin.check(), process.env.PATH);