Files
wakapi-readme-stats/node_modules/os-homedir
2020-07-28 00:48:25 +05:30
..
2020-07-28 00:48:25 +05:30
2020-07-28 00:48:25 +05:30
2020-07-28 00:48:25 +05:30
2020-07-28 00:48:25 +05:30

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'
  • 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