Skip to content
JS
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.

v2.0.2, 8 Dec 2016MITCommonJSTypes: NoneNode.js utilities
$ npm install expand-tilde

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
05m10m15m20mSept 2025Mar 2026Sept 2026High 18.6m (25 Aug 2026)Low 5.9m (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.

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

  1. v2 first release 2.0.0, 18 Oct 2016
  2. v1 first release 1.0.0, 19 Jan 2015

Recent releases

VersionPublished
2.0.28 Dec 2016
2.0.118 Oct 2016
2.0.018 Oct 2016
1.2.25 Jun 2016
1.2.17 Apr 2016
1.2.022 Jan 2015
1.1.019 Jan 2015
1.0.119 Jan 2015
1.0.019 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/expand-tilde@2.0.2/
  • unpkghttps://unpkg.com/expand-tilde@2.0.2/
  • esm.shhttps://esm.sh/expand-tilde@2.0.2
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.