home-path
Cross-platform home directory retriever, tested on Windows XP and above, Mac OSX and Linux.
With node versions 2.3.0 (iojs) or higher, the built-in os.homedir
method is used.
Example
var getHomePath =
getHomePath() ⏏
Kind: Exported function
Example
Mac OSX
> '/Users/Lloyd'
Ubuntu Linux
> '/home/lloyd'
Windows 8.1
> 'C:\\Users\\Lloyd'
© 2015-19 Lloyd Brookes <75pound@gmail.com>. Documented by jsdoc-to-markdown.