Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

readme.md 693B

1234567891011121314151617181920212223242526272829303132
  1. # os-tmpdir [![Build Status](https://travis-ci.org/sindresorhus/os-tmpdir.svg?branch=master)](https://travis-ci.org/sindresorhus/os-tmpdir)
  2. > Node.js [`os.tmpdir()`](https://nodejs.org/api/os.html#os_os_tmpdir) [ponyfill](https://ponyfill.com)
  3. Use this instead of `require('os').tmpdir()` to get a consistent behavior on different Node.js versions (even 0.8).
  4. ## Install
  5. ```
  6. $ npm install --save os-tmpdir
  7. ```
  8. ## Usage
  9. ```js
  10. const osTmpdir = require('os-tmpdir');
  11. osTmpdir();
  12. //=> '/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T'
  13. ```
  14. ## API
  15. See the [`os.tmpdir()` docs](https://nodejs.org/api/os.html#os_os_tmpdir).
  16. ## License
  17. MIT © [Sindre Sorhus](https://sindresorhus.com)