dotfiles/.vscode/extensions/saviorisdead.RustyCode-0.18.0/node_modules/os-homedir
Cyryl Płotnicki 2f946d6200 Add .vscode
2016-09-11 10:29:13 +02:00
..
index.js Add .vscode 2016-09-11 10:29:13 +02:00
license Add .vscode 2016-09-11 10:29:13 +02:00
package.json Add .vscode 2016-09-11 10:29:13 +02:00
readme.md Add .vscode 2016-09-11 10:29:13 +02:00

os-homedir Build Status

io.js 2.3.0 os.homedir() ponyfill

Ponyfill: A polyfill that doesn't overwrite the native method

Install

$ npm install --save os-homedir

Usage

var 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