Kevin 29b9a0c50c clean && clean html base 4 rokov pred
..
index.js 29b9a0c50c clean && clean html base 4 rokov pred
license 29b9a0c50c clean && clean html base 4 rokov pred
package.json 29b9a0c50c clean && clean html base 4 rokov pred
readme.md 29b9a0c50c clean && clean html base 4 rokov pred

readme.md

os-homedir Build Status

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