baichun 9261271bd4 堡垒之夜-工具页 6 سال پیش
..
index.js 9261271bd4 堡垒之夜-工具页 6 سال پیش
license 9261271bd4 堡垒之夜-工具页 6 سال پیش
package.json 9261271bd4 堡垒之夜-工具页 6 سال پیش
readme.md 9261271bd4 堡垒之夜-工具页 6 سال پیش

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