home-dir

Get home directory path on any platform

npm install home-dir
1 715 downloads in the last day
9 333 downloads in the last week
44 507 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