Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /lib/node_modules/npm/node_modules/os-tmpdir//readme.md
# os-tmpdir [](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)
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | March 03 2024 22:36:29 | root / root | 0755 | |
| | | | | |
index.js | 0.559 KB | March 10 2021 14:36:40 | root / root | 0644 | |
license | 1.093 KB | March 10 2021 14:36:40 | root / root | 0644 | |
package.json | 1.584 KB | March 10 2021 14:36:40 | root / root | 0644 | |
readme.md | 0.677 KB | March 10 2021 14:36:40 | root / root | 0644 | |