Kévin Tessier 04fab6ba46 install gulp 6 jaren geleden
..
index.js 04fab6ba46 install gulp 6 jaren geleden
license 04fab6ba46 install gulp 6 jaren geleden
package.json 04fab6ba46 install gulp 6 jaren geleden
readme.md 04fab6ba46 install gulp 6 jaren geleden

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