Skip to content

moander/node-dotbin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Prepend node_modules/.bin to process.env.PATH

Resources

Stars

Watchers

Forks

Packages

No packages published