Share your code.
A cross-platform (OSX, Windows, Linux) path to the user's home.
var userhome = ;console;// /Users/shama/.bashrcconsole;// /Users/shama/test/sub/fileconsole;// C:\Users\shama
If a valid user home environment variable could not be found an error will be thrown indicating so.
- 1.0.0 - Throws an error if a user home can not be found.
- 0.1.0 - initial release
Copyright (c) 2014 Kyle Robinson Young
Licensed under the MIT license.