home-dir

Get home directory path on any platform

npm install home-dir
1 238 downloads in the last day
9 737 downloads in the last week
45 324 downloads in the last month

home-dir

Get home directory path on any platform

Install

npm install home-dir --save

Usate

var homeDir = require('home-dir');
console.log(homeDir()); // Outputs full path to your home directory

// OR

var homeDir = require('home-dir').directory;
npm loves you