frappe_docker/frappe-bench/node_modules/os-homedir
2017-07-31 15:51:51 +05:30
..
index.js Final docker setup 2017-07-31 15:51:51 +05:30
license Final docker setup 2017-07-31 15:51:51 +05:30
package.json Final docker setup 2017-07-31 15:51:51 +05:30
readme.md Final docker setup 2017-07-31 15:51:51 +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