You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Pau aff9d08cee client 1 year ago
index.js client 1 year ago
license client 1 year ago
package.json client 1 year ago client 1 year ago

os-homedir Build Status

Node.js 4 os.homedir() ponyfill


$ npm install --save os-homedir


const osHomedir = require('os-homedir');

//=> '/Users/sindresorhus'
  • 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


MIT © Sindre Sorhus