Files
menui_backend/node_modules/os-homedir
2020-08-20 11:44:32 +02:00
..
2020-07-15 19:54:48 +02:00
2020-07-15 19:54:48 +02:00
2020-08-20 11:44:32 +02:00
2020-07-15 19:54:48 +02:00

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