]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/node_modules/osenv/node_modules/os-homedir/readme.md
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / node_modules / osenv / node_modules / os-homedir / readme.md
1 # os-homedir [![Build Status](https://travis-ci.org/sindresorhus/os-homedir.svg?branch=master)](https://travis-ci.org/sindresorhus/os-homedir)
2
3 > io.js 2.3.0 [`os.homedir()`](https://iojs.org/api/os.html#os_os_homedir) ponyfill
4
5 > Ponyfill: A polyfill that doesn't overwrite the native method
6
7
8 ## Install
9
10 ```
11 $ npm install --save os-homedir
12 ```
13
14
15 ## Usage
16
17 ```js
18 var osHomedir = require('os-homedir');
19
20 console.log(osHomedir());
21 //=> /Users/sindresorhus
22 ```
23
24
25 ## Related
26
27 - [user-home](https://github.com/sindresorhus/user-home) - Same as this module but caches the result
28 - [home-or-tmp](https://github.com/sindresorhus/home-or-tmp) - Get the user home directory with fallback to the system temp directory
29
30
31 ## License
32
33 MIT © [Sindre Sorhus](http://sindresorhus.com)