Package Exports
- home-path
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (home-path) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
home-path
Cross-platform home directory retriever, tested on Windows XP, Windows 8.1, Mac OSX, Linux. Will use the built-in os.homedir
if available.
getHomePath() ⏏
Kind: Exported function
Example
Mac OSX & Linux
> var getHomePath = require("home-path");
> getHomePath()
'/Users/Lloyd'
Windows 8.1
> var getHomePath = require("home-path");
> getHomePath()
'C:\\Users\\Lloyd'
© 2015 Lloyd Brookes <75pound@gmail.com>. Documented by jsdoc-to-markdown.