kevin tessier 5eedee288e install npm %!s(int64=5) %!d(string=hai) anos
..
index.js 5eedee288e install npm %!s(int64=5) %!d(string=hai) anos
license 5eedee288e install npm %!s(int64=5) %!d(string=hai) anos
package.json 5eedee288e install npm %!s(int64=5) %!d(string=hai) anos
readme.md 5eedee288e install npm %!s(int64=5) %!d(string=hai) anos

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