Bachir Soussi Chiadmi ac58a24f5c added bower, gulp il y a 7 ans
..
index.js ac58a24f5c added bower, gulp il y a 7 ans
license ac58a24f5c added bower, gulp il y a 7 ans
package.json ac58a24f5c added bower, gulp il y a 7 ans
readme.md ac58a24f5c added bower, gulp il y a 7 ans

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