Get environment variables from the shell
☆86Feb 1, 2026Updated last month
Alternatives and similar repositories for shell-env
Users that are interested in shell-env are comparing it to the libraries listed below
Sorting:
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Get the $PATH from the shell☆79Aug 21, 2025Updated 6 months ago
- Get the command history of the user's shell☆86Nov 2, 2025Updated 3 months ago
- Get the email of an npm user☆14Feb 26, 2024Updated 2 years ago
- Expands symbolic links and prints the resolved absolute filepath☆27May 6, 2024Updated last year
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Get the visual width of a string - the number of columns required to display it☆13Oct 28, 2023Updated 2 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
- Parse text columns, like the output of unix commands☆84Sep 9, 2025Updated 5 months ago
- Open the URL from a web shortcut file☆17Nov 3, 2021Updated 4 years ago
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 4 years ago
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Get free disk space info from `df -kP`☆64Sep 13, 2025Updated 5 months ago
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Aug 9, 2021Updated 4 years ago
- Get a random key from an object☆18Jul 2, 2024Updated last year
- Get the iTerm2 version☆11Jan 5, 2026Updated last month
- Get the user's default shell☆41Sep 11, 2025Updated 5 months ago
- Regular expression for matching scoped npm package names☆27Jul 9, 2022Updated 3 years ago
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- Get the path of the current directory in Finder (macOS) and Explorer (Windows)☆19Aug 10, 2021Updated 4 years ago
- Check if a process is running☆61Nov 4, 2021Updated 4 years ago
- Check if your code is running in a JXA environment☆32Sep 18, 2021Updated 4 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Jul 8, 2022Updated 3 years ago
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Lowercase the keys of an object☆41Feb 2, 2026Updated 3 weeks ago
- Get the path to an app (macOS)☆48May 3, 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
- Get an array of parent directories including itself☆26Nov 7, 2023Updated 2 years ago
- Check if a file path is a text file☆21Apr 30, 2024Updated last year
- Convert matching single-quotes to double-quotes: I 'love' unicorns => I "love" unicorns☆22Apr 18, 2021Updated 4 years ago
- Get metadata on the default editor or a specific editor☆55Sep 10, 2025Updated 5 months ago
- Regular expression for matching issue references☆49Sep 26, 2024Updated last year
- Check if something is a promise☆45Apr 16, 2021Updated 4 years ago
- Extract the article title of a HTML document or website☆31Sep 9, 2025Updated 5 months ago
- Wait for any promise to be fulfilled☆56Jul 9, 2022Updated 3 years ago
- Run promise-returning & async functions in series☆71Aug 12, 2021Updated 4 years ago