Sha256: 8f699b70d2be8ee244b8b43e4069d2e01f210e803685a304444d850a08e117a8

Contents?: true

Size: 693 Bytes

Versions: 129

Compression:

Stored size: 693 Bytes

Contents

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

> Node.js [`os.tmpdir()`](https://nodejs.org/api/os.html#os_os_tmpdir) [ponyfill](https://ponyfill.com)

Use this instead of `require('os').tmpdir()` to get a consistent behavior on different Node.js versions (even 0.8).


## Install

```
$ npm install --save os-tmpdir
```


## Usage

```js
const osTmpdir = require('os-tmpdir');

osTmpdir();
//=> '/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T'
```


## API

See the [`os.tmpdir()` docs](https://nodejs.org/api/os.html#os_os_tmpdir).


## License

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

Version data entries

129 entries across 107 versions & 18 rubygems

Version Path
immosquare-cleaner-0.1.60 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.59 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.58 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.57 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.56 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.55 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.54 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.53 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.52 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.51 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.50 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.49 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.48 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.47 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.46 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.45 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.44 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.43 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.42 node_modules/os-tmpdir/readme.md
immosquare-cleaner-0.1.41 node_modules/os-tmpdir/readme.md