Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev
☆148Sep 9, 2025Updated 5 months ago
Alternatives and similar repositories for untildify
Users that are interested in untildify are comparing it to the libraries listed below
Sorting:
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Jul 8, 2022Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last month
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari☆13Nov 14, 2025Updated 3 months ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Jul 9, 2022Updated 3 years ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last month
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Jan 24, 2026Updated last month
- Check if your code is running in a JXA environment☆32Sep 18, 2021Updated 4 years ago
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Strip shebang (eg. #!/bin/sh) from a string☆11Aug 18, 2021Updated 4 years ago
- Strip a path from a path☆18Aug 18, 2021Updated 4 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 5 months ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Import a module like with `require()` but from a given path☆86Jul 8, 2022Updated 3 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Feb 2, 2026Updated last month
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆37Aug 9, 2021Updated 4 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Oct 24, 2023Updated 2 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆79Jul 8, 2022Updated 3 years ago
- Node's default require extensions as a separate module☆11Oct 27, 2022Updated 3 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Check if a string is a valid filename☆62Aug 16, 2021Updated 4 years ago
- Convert a string to a valid safe filename on the command-line☆64Sep 15, 2025Updated 5 months ago
- Get the number of days in a month☆27Oct 18, 2021Updated 4 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Apr 1, 2024Updated last year
- Get the first path that exists on disk of multiple paths☆63Sep 15, 2025Updated 5 months ago
- Lax URL parsing with support for protocol-less URLs and IPs☆55Sep 7, 2025Updated 5 months ago
- Check if a file path is an archive file☆16Apr 30, 2024Updated last year
- Strip UTF-8 byte order mark (BOM)☆22Sep 15, 2025Updated 5 months ago
- Check if something is a generator function☆24Jul 8, 2022Updated 3 years ago
- Get the arguments of a function, arrow function, generator function, async function☆54Oct 30, 2023Updated 2 years ago
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago