Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev
☆96Jul 8, 2022Updated 3 years ago
Alternatives and similar repositories for tildify
Users that are interested in tildify are comparing it to the libraries listed below
Sorting:
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆148Sep 9, 2025Updated 5 months 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 in the current working directory☆23May 3, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 5 months ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Check if something is a promise☆45Apr 16, 2021Updated 4 years ago
- Check if a value is an object☆42Apr 16, 2021Updated 4 years ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last month
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Jan 24, 2026Updated last month
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last month
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Feb 26, 2022Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆63Sep 15, 2025Updated 5 months ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- Get the email of an npm user☆14Feb 26, 2024Updated 2 years ago
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Feb 2, 2026Updated last month
- Get the hash of a string☆68Feb 5, 2022Updated 4 years ago
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- Indent each line in a string☆115Jun 5, 2022Updated 3 years ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Get metadata on the default editor or a specific editor☆55Sep 10, 2025Updated 5 months ago
- Reliably get the terminal window size☆146Feb 2, 2026Updated last month
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Check if a path is inside another path☆40Sep 11, 2025Updated 5 months ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Apr 1, 2024Updated last year
- Strip a path from a path☆18Aug 18, 2021Updated 4 years ago
- Pretty time zone: +2 or -9:30☆58Jul 9, 2022Updated 3 years ago
- Get the set npm registry URL☆57Apr 15, 2025Updated 10 months ago
- Check if a path exists☆155Mar 3, 2022Updated 4 years ago
- Hook and modify stdout and stderr☆57Sep 9, 2025Updated 5 months ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆37Aug 9, 2021Updated 4 years ago
- Get the path to this package - Useful for testing☆22Aug 9, 2021Updated 4 years ago