Package
expand-tilde
Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 13m
- +30% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 9 years ago
- v2.0.2
- GitHub stars
- 24
- 3 forks
- Open issues / PRs
- 0 / 1
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
13,008,268 downloads last week, 64,683,088 in the last month. The 12-month change of +30% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 09 in total
- Latest version
- 2.0.2, 8 Dec 20169 years ago
- First published
- 19 Jan 2015
- Last push to GitHub
- 16 Mar 20221,653 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 371
Major versions
- v2 first release 2.0.0, 18 Oct 2016
- v1 first release 1.0.0, 19 Jan 2015
Recent releases
| Version | Published |
|---|---|
| 2.0.2 | 8 Dec 2016 |
| 2.0.1 | 18 Oct 2016 |
| 2.0.0 | 18 Oct 2016 |
| 1.2.2 | 5 Jun 2016 |
| 1.2.1 | 7 Apr 2016 |
| 1.2.0 | 22 Jan 2015 |
| 1.1.0 | 19 Jan 2015 |
| 1.0.1 | 19 Jan 2015 |
| 1.0.0 | 19 Jan 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 (1)
homedir-polyfill
npm install expand-tilde- jsDelivr
https://cdn.jsdelivr.net/npm/expand-tilde@2.0.2/ - unpkg
https://unpkg.com/expand-tilde@2.0.2/ - esm.sh
https://esm.sh/expand-tilde@2.0.2
Indexability: Indexed.