PHP 8.3.31
Preview: readme.md Size: 771 B
/opt/alt/alt-nodejs6/root/usr/lib/node_modules/npm/node_modules/osenv/node_modules/os-homedir/readme.md

# os-homedir [![Build Status](https://travis-ci.org/sindresorhus/os-homedir.svg?branch=master)](https://travis-ci.org/sindresorhus/os-homedir)

> io.js 2.3.0 [`os.homedir()`](https://iojs.org/api/os.html#os_os_homedir) ponyfill

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


## Install

```
$ npm install --save os-homedir
```


## Usage

```js
var osHomedir = require('os-homedir');

console.log(osHomedir());
//=> /Users/sindresorhus
```


## Related

- [user-home](https://github.com/sindresorhus/user-home) - Same as this module but caches the result
- [home-or-tmp](https://github.com/sindresorhus/home-or-tmp) - Get the user home directory with fallback to the system temp directory


## License

MIT © [Sindre Sorhus](http://sindresorhus.com)

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
608 B lrw-r--r-- 2021-09-28 09:36:07
Edit Download
1.09 KB lrw-r--r-- 2021-09-28 09:36:07
Edit Download
1.90 KB lrw-r--r-- 2021-09-28 09:36:07
Edit Download
771 B lrw-r--r-- 2021-09-28 09:36:07
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).