Platform agnostic user home directory path resolution for Node.js.
npm install homedir   
Platform agnostic user home directory path resolution (i.e. man 5 passwd) for [Node.js][].
> The user's home directory. This is the full path name where the user will be placed on login.
#### OSX
homedir();
#=> /Users/wilmoore
homedir('Guest');
#=> /Users/Guest
#### Windows
homedir();
#=> C:\Users\wilmoore
homedir('Public');
#=> C:\Users\Public
#### Linux
homedir();
#=> /home/wilmoore
homedir('guest');
#=> /home/guest
npm install homedir --save
- [userhome][]
- [home-dir][]
[userhome]: https://www.npmjs.org/package/userhome
[home-dir]: https://www.npmjs.org/package/home-dir
[Node.js]: http://nodejs.org