Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

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,159,034
decreased by-2.72%

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 15,402,902 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. It has 1 open source maintainer collaborating on the project.

Last updated on 08 Nov 2018
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