Skip to content
JS
Package

os-tmpdir

Node.js os.tmpdir() ponyfill

v2.0.0, 8 Nov 2018MIT-Types: NonePolyfills and shims
$ npm install os-tmpdir
Deprecated on npm
This is not needed anymore. `require('os').tmpdir()` in Node.js 4 and up is good.

Key numbers

As of 25 Sept 2026
Weekly downloads
19.8m
-22% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 years ago
v2.0.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30mSept 2025Mar 2026Sept 2026High 29.3m (21 Oct 2025)Low 11.4m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

19,823,201 downloads last week, 81,486,934 in the last month. The 12-month change of -22% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
04 in total
Latest version
2.0.0, 8 Nov 20187 years ago
First published
7 May 2015
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v2 first release 2.0.0, 8 Nov 2018
  2. v1 first release 1.0.0, 7 May 2015

Recent releases

VersionPublished
2.0.08 Nov 2018
1.0.230 Sept 2016
1.0.116 May 2015
1.0.07 May 2015
Module format
-Not determined from package.json
TypeScript types
None
Node.js engine range
>=0.10.0
Runtimes
-
Unpacked size (npm)
3.1 kB
Dependencies (0)
None
npm install os-tmpdir
  • jsDelivrhttps://cdn.jsdelivr.net/npm/os-tmpdir@2.0.0/
  • unpkghttps://unpkg.com/os-tmpdir@2.0.0/
  • esm.shhttps://esm.sh/os-tmpdir@2.0.0
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): deprecated; GitHub data not fetched yet.