Package Exports
- user-home
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 (user-home) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
user-home 
Get the path to the user home directory
Install
$ npm install --save user-home
Usage
var userHome = require('user-home');
console.log(userHome);
//=> '/Users/sindresorhus'
Returns null
in the unlikely scenario that the home directory can't be found.
Related
- user-home-cli - CLI for this module
- home-or-tmp - Get the user home directory with fallback to the system temp directory
License
MIT © Sindre Sorhus