Skip to content
JS
Package

resolve-dir

Resolve a directory that is either local, global or in the user's home directory.

v1.0.1, 5 Aug 2017MITCommonJSTypes: NoneFiles and file systems
$ npm install resolve-dir

Key numbers

As of 25 Sept 2026
Weekly downloads
11.1m
+14% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
9 years ago
v1.0.1
GitHub stars
14
3 forks
Open issues / PRs
3 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 15.7m (21 Jul 2026)Low 5.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.

11,137,325 downloads last week, 48,807,324 in the last month. The 12-month change of +14% 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
1.0.1, 5 Aug 20179 years ago
First published
21 Sept 2015
Last push to GitHub
5 Aug 20173,337 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
237

Major versions

  1. v1 first release 1.0.0, 18 Oct 2016
  2. v0 first release 0.1.0, 21 Sept 2015

Recent releases

VersionPublished
1.0.15 Aug 2017
1.0.018 Oct 2016
0.1.129 Jul 2016
0.1.021 Sept 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=0.10.0
Runtimes
-
Unpacked size (npm)
-
Dependencies (2)
expand-tildeglobal-modules
npm install resolve-dir
  • jsDelivrhttps://cdn.jsdelivr.net/npm/resolve-dir@1.0.1/
  • unpkghttps://unpkg.com/resolve-dir@1.0.1/
  • esm.shhttps://esm.sh/resolve-dir@1.0.1
PackageWeekly downloadsGzipLast releaseModuleComparison
@stdlib/fs-resolve-parent-path542k-7 months agoCommonJS-
path-complete-extname322.1k-8 years agoCommonJS-
@stdlib/fs-read-file345k-7 months agoCommonJS-
@stdlib/fs-exists542k-7 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.