1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 06:43:17 +00:00
musix-oss/node_modules/os-homedir
2020-03-04 13:43:21 +02:00
..
index.js opus 2020-03-04 13:43:21 +02:00
license opus 2020-03-04 13:43:21 +02:00
package.json opus 2020-03-04 13:43:21 +02:00
readme.md opus 2020-03-04 13:43:21 +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