function getHomePath () {
  if (process.platform === 'win32') {
    return process.env.USERPROFILE || process.env.HOMEDRIVE + process.env.HOMEPATH || process.env.HOME
  } else {
    return process.env.HOME
  }
}
@alias module:home-path
@example
Mac OSX
```js
> getHomePath()
'/Users/Lloyd'
```

Ubuntu Linux
```js
> getHomePath()
'/home/lloyd'
```

Windows 8.1
```js
> getHomePath()
'C:\\Users\\Lloyd'
```