RiskStrategyTask/Companies/Companies/node_modules/os-homedir
Dvurechensky b080da1abb 1.0
Main
2024-10-05 06:58:11 +03:00
..
index.js 1.0 2024-10-05 06:58:11 +03:00
license 1.0 2024-10-05 06:58:11 +03:00
package.json 1.0 2024-10-05 06:58:11 +03:00
readme.md 1.0 2024-10-05 06:58:11 +03: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