Package
resolve-dir
Resolve a directory that is either local, global or in the user's home directory.
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
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
- v1 first release 1.0.0, 18 Oct 2016
- v0 first release 0.1.0, 21 Sept 2015
Recent releases
| Version | Published |
|---|---|
| 1.0.1 | 5 Aug 2017 |
| 1.0.0 | 18 Oct 2016 |
| 0.1.1 | 29 Jul 2016 |
| 0.1.0 | 21 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- jsDelivr
https://cdn.jsdelivr.net/npm/resolve-dir@1.0.1/ - unpkg
https://unpkg.com/resolve-dir@1.0.1/ - esm.sh
https://esm.sh/resolve-dir@1.0.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @stdlib/fs-resolve-parent-path | 542k | - | 7 months ago | CommonJS | - |
| path-complete-extname | 322.1k | - | 8 years ago | CommonJS | - |
| @stdlib/fs-read-file | 345k | - | 7 months ago | CommonJS | - |
| @stdlib/fs-exists | 542k | - | 7 months ago | CommonJS | - |
Indexability: Indexed.