lucaconte 7cc26e831d presentations 6 gadi atpakaļ
..
index.js 7cc26e831d presentations 6 gadi atpakaļ
license 7cc26e831d presentations 6 gadi atpakaļ
package.json 7cc26e831d presentations 6 gadi atpakaļ
readme.md 7cc26e831d presentations 6 gadi atpakaļ

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