mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
735 B
735 B
os-homedir
Node.js 4
os.homedir()
ponyfill
Install
$ npm install --save os-homedir
Usage
const osHomedir = require('os-homedir');
console.log(osHomedir());
//=> '/Users/sindresorhus'
Related
- user-home - Same as this module but caches the result
- home-or-tmp - Get the user home directory with fallback to the system temp directory
License
MIT © Sindre Sorhus