Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

os-tmpdir

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Issues
File Explorer

Advanced tools

os-tmpdir

Node.js os.tmpdir() ponyfill

    2.0.0latest

Version published
Maintainers
1
Weekly downloads
19,914,397
increased by4.74%

Weekly downloads

Readme

Source

Deprecated: This is not needed anymore. require('os').tmpdir() in Node.js 4 and up is good.


os-tmpdir Build Status

Node.js os.tmpdir() ponyfill

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

const osTmpdir = require('os-tmpdir'); osTmpdir(); //=> '/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T'

API

See the os.tmpdir() docs.

License

MIT © Sindre Sorhus

Keywords

FAQs

What is os-tmpdir?

Node.js os.tmpdir() ponyfill

Is os-tmpdir popular?

The npm package os-tmpdir receives a total of 16,735,360 weekly downloads. As such, os-tmpdir popularity was classified as popular.

Is os-tmpdir well maintained?

We found that os-tmpdir demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 08 Nov 2018

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc